From c008dfd212ecf9efe0efb33b360b14aeac809012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?home=E5=AD=99?= <1162067978@qq.com> Date: Tue, 16 Sep 2025 16:58:05 +0800 Subject: [PATCH 1/2] 9/16 --- src/views/page/skylight.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/page/skylight.vue b/src/views/page/skylight.vue index 71598895..428fbc71 100644 --- a/src/views/page/skylight.vue +++ b/src/views/page/skylight.vue @@ -268,7 +268,7 @@ export default { }, //类型选择 handleCommand(index) { - this.TypeSel = this.typeSelList[index].name + this.TypeSel = this.typeSelList[index].label this.TypeSelIndex = this.typeSelList[index].value var dataNum = { target: { @@ -391,7 +391,7 @@ export default { this.typeSelList.forEach((el, index) => { if (el.value == this.inputData[21657 + (this.indexs - 1)]) { - this.TypeSel = el.name + this.TypeSel = el.label this.TypeSelIndex = el.value } if (this.inputData[21657 + (this.indexs - 1)] == 0) { -- 2.47.2 From 4de265ea6d5519da53cd558b248a64be5000b6f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?home=E5=AD=99?= <1162067978@qq.com> Date: Thu, 18 Sep 2025 20:02:42 +0800 Subject: [PATCH 2/2] 1 --- src/views/page/status.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/page/status.vue b/src/views/page/status.vue index 08b4e511..c88b033a 100644 --- a/src/views/page/status.vue +++ b/src/views/page/status.vue @@ -492,7 +492,7 @@ export default { }, getrightList3() { // var num = this.inputData['82'] - var num = this.inputData['82'] + var num = this.inputData['82']?this.inputData['82']:0 var num1 = this.padString(num.toString(2), 8) var openListNew = [] @@ -575,7 +575,8 @@ export default { }, //什么方式启动的搅拌 getData81() { - var number = this.padString(this.inputData['81'].toString(2), 4) + var num=this.inputData['81']?this.inputData['81']:0 + var number = this.padString(num.toString(2), 4) var openListNew = [] openListNew = number.split("") -- 2.47.2