diff --git a/src/pages/match/details/index.vue b/src/pages/match/details/index.vue index 9004ed9..94e4102 100644 --- a/src/pages/match/details/index.vue +++ b/src/pages/match/details/index.vue @@ -1009,7 +1009,7 @@ export default { this.chooses = this.info.teamDetail } this.curRow = row - this.checkedMembers = [] + this.checkedMembers = row.participantAccountIds ? row.participantAccountIds.split(',').map(e => +e) : [] // 选中了的人员要回显 this.chooseVisible = true } } diff --git a/src/pages/match/list/index.vue b/src/pages/match/list/index.vue index 79c54e5..041d501 100644 --- a/src/pages/match/list/index.vue +++ b/src/pages/match/list/index.vue @@ -331,7 +331,10 @@ export default { this.SET_TYPE(2) this.getProvince() this.getData() - this.$once('hook:beforeDestroy', this.clearTimer) + this.$once('hook:beforeDestroy', function() { + this.clearTimer() + clearInterval(this.redisTimer) + }) }, methods: { ...mapMutations('match', [ @@ -372,9 +375,9 @@ export default { this.listData = records this.totals = data.total this.handleStatus() - this.loadIns.close(); + // this.loadIns.close(); }).catch(res => { - this.loadIns.close() + // this.loadIns.close() }) }, // 定时处理时间及状态 @@ -475,10 +478,9 @@ export default { clearInterval(n) }) this.timerList = [] - clearInterval(this.redisTimer) }, getData() { - this.loadIns = Loading.service() + // this.loadIns = Loading.service() this.getList() if (!Setting.isDev) { clearInterval(this.redisTimer) diff --git a/src/setting.js b/src/setting.js index 31c9749..156dc87 100644 --- a/src/setting.js +++ b/src/setting.js @@ -28,7 +28,7 @@ if (isPro) { uploadURL = `http://121.37.12.51/` host = "http://121.37.12.51/"; // 测试服 // host = 'https://www.occupationlab.com/' // 正式服 - // host = "http://192.168.31.151:9000/"; // 榕 + // host = "http://192.168.31.51:9000/"; // 榕 // host = "http://192.168.31.116:9000/"; // 赓 }