浏览代码

Merge branch 'master' of http://git.cc-lotus.info/ball-court/ball-applet

zs 2 年之前
父节点
当前提交
1c7a4769c1
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      pagesMatch/matchAdmin/elimmatch/list.js

+ 1 - 2
pagesMatch/matchAdmin/elimmatch/list.js

@@ -30,7 +30,7 @@ Page({
         this.WxValidate = new WxValidate(rules, messages)
     },
     // 返回
-    back: function () { wx.navigateBack({ delta: 1 }); wx.setStorage({ key: "match", data: {} }) },
+    back: function () { wx.navigateBack({ delta: 1 }); wx.removeStorage({ key: 'match'}) },
     // 添加
     toAdd: function (e) {
         const that = this;
@@ -154,7 +154,6 @@ Page({
     // 关闭弹框
     toClose: function () {
         const that = this;
-        that.setData({ form: {} })
         that.setData({ dialog: { title: '赛程上分', show: false, type: '2' } })
     },
     /**