@@ -226,11 +226,22 @@ export default {
},
});
} else {
- self.applyCash();
+ uni.showModal({
+ title: "提示",
+ content: "确认全部提现?",
+ success: function (res) {
+ if (res.confirm) {
+ self.applyCash();
+ }
+ },
+ });
}
- async applyCash () {
- const { data } = await applyCash({});
+ applyCash () {
+ applyCash({}).then(res => {
+ this.$msg('操作成功')
+ this.init()
+ })
_list () { },