@@ -375,10 +375,9 @@ export default {
applyCash() {
let that = this
that.$util.confirmModal({content:'确认提现?'},() => {
- uni.showLoading({title: "提交中"})
+ uni.showLoading({mask:true})
applyCash({}).then(res=>{
if(res.code == 1){
- uni.hideLoading()
that.init()
that.$msg(res.msg)
}
@@ -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
applyCash({}).then(res => {
- this.$msg('操作成功')
+ if(res.code == 1){
+ that.getMyInfo()
+ that.$msg('操作成功')
+ }
})
- },
- _list () { },
};
</script>