master
parent
13c1905b57
commit
7f8f55ea6d
|
@ -332,11 +332,28 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
buyInterface(){
|
buyInterface(){
|
||||||
doBuyInterface(this.buyForm).then((res)=>{
|
this.$prompt('请输入支付密码', '提示', {
|
||||||
console.log(res);
|
confirmButtonText: '确定',
|
||||||
alert(res.msg);
|
cancelButtonText: '取消',
|
||||||
this.dialogFormVisible5=false;
|
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){
|
buy(connector){
|
||||||
|
|
Loading…
Reference in New Issue