Explorar o código

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

zs %!s(int64=2) %!d(string=hai) anos
pai
achega
1c7a4769c1
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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)
         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) {
     toAdd: function (e) {
         const that = this;
         const that = this;
@@ -154,7 +154,6 @@ Page({
     // 关闭弹框
     // 关闭弹框
     toClose: function () {
     toClose: function () {
         const that = this;
         const that = this;
-        that.setData({ form: {} })
         that.setData({ dialog: { title: '赛程上分', show: false, type: '2' } })
         that.setData({ dialog: { title: '赛程上分', show: false, type: '2' } })
     },
     },
     /**
     /**