diff --git a/frontend/src/views/switchQuantity/index.vue b/frontend/src/views/switchQuantity/index.vue index 44e1652..9f7ac2e 100644 --- a/frontend/src/views/switchQuantity/index.vue +++ b/frontend/src/views/switchQuantity/index.vue @@ -8,7 +8,7 @@ const { state, bootstrap } = usePlatformStore() const inputStates = computed(() => { if (!state.realtime?.switch) { - return [false, false, false, false, false, false, false, false, false, false, false, false] + return [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] } return Array.from({ length: 12 }, (_, i) => { const key = `di${i + 1}` @@ -18,7 +18,7 @@ const inputStates = computed(() => { const outputStates = computed(() => { if (!state.realtime?.switch) { - return [false, false, false, false, false, false, false, false, false, false, false, false] + return [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] } return Array.from({ length: 12 }, (_, i) => { const key = `do${i + 1}` @@ -89,9 +89,9 @@ onMounted(() => {
- -
开入{{ index + 1 }}
@@ -104,9 +104,9 @@ onMounted(() => {
- -
开出{{ index + 1 }}