From 8e99beb2235d284e0669d5baeec3098c02bd1162 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 23 Apr 2024 13:27:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/setup.vue | 32 ++++++++++++++++---------------- pages/manage/cbj-carry.vue | 18 ++++-------------- 2 files changed, 20 insertions(+), 30 deletions(-) diff --git a/pages/login/setup.vue b/pages/login/setup.vue index ef54916..7edb91e 100644 --- a/pages/login/setup.vue +++ b/pages/login/setup.vue @@ -7,11 +7,11 @@ 服务器地址 - + @@ -50,20 +50,20 @@ }) return } - if (this.acsip === '') { - uni.showToast({ - title: '请填写ACS地址', - icon: 'none' - }) - return - } - if (this.setTime === '') { - uni.showToast({ - title: '请填写刷新时间', - icon: 'none' - }) - return - } + // if (this.acsip === '') { + // uni.showToast({ + // title: '请填写ACS地址', + // icon: 'none' + // }) + // return + // } + // if (this.setTime === '') { + // uni.showToast({ + // title: '请填写刷新时间', + // icon: 'none' + // }) + // return + // } // 存值 this.$store.dispatch('setConfig',{baseUrl: this.addrip, acsUrl: this.acsip, setTime: this.setTime * 1000}) uni.redirectTo({ diff --git a/pages/manage/cbj-carry.vue b/pages/manage/cbj-carry.vue index 79e5c4d..ccdb748 100644 --- a/pages/manage/cbj-carry.vue +++ b/pages/manage/cbj-carry.vue @@ -20,7 +20,7 @@ /> - + 点位 @@ -36,16 +36,6 @@ - - - 点位编码 - - - - - @@ -122,8 +112,8 @@ - - + + @@ -262,7 +252,7 @@ async _cbjskTask () { this.disabled4 = true try { - let res = await cbjskTask(this.index2, this.val2) + let res = await cbjskTask(this.index2, this.index1) this.disabled4 = false uni.showToast({ title: res.message,