Browse Source

修改详情页 上传比分

zs 3 years ago
parent
commit
5614c52a0e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      pages/match/detail.js

+ 3 - 3
pages/match/detail.js

@@ -28,6 +28,9 @@ Page({
     const messages = { blue_branch: { required: '请输入蓝方比分', }, red_branch: { required: '请输入红方比分', } };
     this.WxValidate = new WxValidate(rules, messages)
   },
+  back: function () {
+    wx.navigateBack({ url: '/pages/home/index' })
+  },
   //显示对话框
   clickme: function () {
     this.setData({
@@ -54,9 +57,6 @@ Page({
     let arr = data.filter((i, index) => index != e.detail.index)
     that.setData({ fileList: arr })
   },
-  back: function () {
-    wx.navigateBack({ url: '/pages/home/index' })
-  },
   // 提交登录
   formSubmit: function (e) {
     const that = this;