Browse Source

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

zs 2 years ago
parent
commit
c0346c8796
4 changed files with 5 additions and 5 deletions
  1. 2 2
      pages/eliminate/index.js
  2. 1 1
      pages/race/index.js
  3. 1 1
      pages/referee/eliminate.js
  4. 1 1
      pages/referee/group.js

+ 2 - 2
pages/eliminate/index.js

@@ -42,7 +42,7 @@ Page({
         const params = e.detail.value;
         const arr = await app.$post(`/newCourt/api/eliminateRace/${params._id}`, params);
         if (arr.errcode == '0') {
-            wx.showToast({ title: `上分成功`, icon: 'error', duration: 2000 })
+            wx.showToast({ title: `信息维护成功`, icon: 'error', duration: 2000 })
             that.toClose()
         } else {
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })
@@ -78,7 +78,7 @@ Page({
         const that = this;
         that.setData({ form: {} })
         that.setData({ dialog: { title: '赛程信息', show: false, type: '1' } })
-
+        that.watchLogin()
     },
     // 选择赛事
     matchChange: function (e) {

+ 1 - 1
pages/race/index.js

@@ -48,7 +48,7 @@ Page({
         const params = e.detail.value;
         const arr = await app.$post(`/newCourt/api/race/${params._id}`, params);
         if (arr.errcode == '0') {
-            wx.showToast({ title: `上分成功`, icon: 'error', duration: 2000 })
+            wx.showToast({ title: `信息维护成功`, icon: 'error', duration: 2000 })
             that.toClose()
         } else {
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })

+ 1 - 1
pages/referee/eliminate.js

@@ -73,7 +73,7 @@ Page({
         const params = e.detail.value;
         const arr = await app.$post(`/newCourt/api/eliminateRace/${params._id}`, params);
         if (arr.errcode == '0') {
-            wx.showToast({ title: `上分成功`, icon: 'error', duration: 2000 })
+            wx.showToast({ title: `信息维护成功`, icon: 'error', duration: 2000 })
             that.toClose()
         } else {
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })

+ 1 - 1
pages/referee/group.js

@@ -73,7 +73,7 @@ Page({
         const params = e.detail.value;
         const arr = await app.$post(`/newCourt/api/race/${params._id}`, params);
         if (arr.errcode == '0') {
-            wx.showToast({ title: `上分成功`, icon: 'error', duration: 2000 })
+            wx.showToast({ title: `信息维护成功`, icon: 'error', duration: 2000 })
             that.toClose()
         } else {
             wx.showToast({ title: `${arr.errmsg}`, icon: 'error', duration: 2000 })