Compare commits
2 Commits
8bfb40147c
...
071048dd0a
Author | SHA1 | Date |
---|---|---|
|
071048dd0a | |
|
7f8f55ea6d |
|
@ -332,11 +332,28 @@ export default {
|
|||
}
|
||||
},
|
||||
buyInterface(){
|
||||
this.$prompt('请输入支付密码', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
inputPattern: /\d{6}?/,
|
||||
inputErrorMessage: '密码格式不正确'
|
||||
}).then(({ value }) => {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '你的密码是: ' + value
|
||||
});
|
||||
doBuyInterface(this.buyForm).then((res)=>{
|
||||
console.log(res);
|
||||
alert(res.msg);
|
||||
this.dialogFormVisible5=false;
|
||||
})
|
||||
}).catch(() => {
|
||||
this.$message({
|
||||
type: 'info',
|
||||
message: '取消输入'
|
||||
});
|
||||
});
|
||||
|
||||
},
|
||||
//购买
|
||||
buy(connector){
|
||||
|
|
Loading…
Reference in New Issue