瀏覽代碼

fix: loading未及时清除问题

cuiyalong 3 年之前
父節點
當前提交
bf3c99f4e5
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/web/staticres/common-module/active/2022.7/task-202207.js

+ 1 - 3
src/web/staticres/common-module/active/2022.7/task-202207.js

@@ -519,9 +519,6 @@ var task = new Vue({
       this.dialog.show = show
       this.dialog.type = type
       this.dialog.text = text
-      if (!show) {
-        $('.van-overlay').trigger('click')
-      }
     },
     ajaxActiveStatus: function () {
       var _this = this
@@ -769,6 +766,7 @@ var task = new Vue({
         type: 'post',
         success: function (res) {
           if (res.data) {
+            loading.clear()
             _this.dialogShow('success', true, '7天')
             _this.getYuReCouponCount()
             // 刷新我的奖励列表