|
|
@@ -270,7 +270,7 @@ export default {
|
|
|
} else {
|
|
|
uni.showModal({
|
|
|
title: "提示",
|
|
|
- content: "确认全部提现?",
|
|
|
+ content: "确认提现?",
|
|
|
success: function (res) {
|
|
|
if (res.confirm) {
|
|
|
self.applyCash();
|
|
|
@@ -280,11 +280,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
applyCash () {
|
|
|
+ let that = this
|
|
|
+ uni.showLoading({mask:true})
|
|
|
applyCash({}).then(res => {
|
|
|
- this.$msg('操作成功')
|
|
|
+ if(res.code == 1){
|
|
|
+ that.getMyInfo()
|
|
|
+ that.$msg('操作成功')
|
|
|
+ }
|
|
|
})
|
|
|
- },
|
|
|
- _list () { },
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|