From a1429c29ae183e0be7a0c3cc0035cb814869578c Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Sun, 10 Sep 2023 19:21:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=90=8E=E8=B7=B3=E5=88=B0?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Formula.vue | 5 ++++- src/pages/Home.vue | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/Formula.vue b/src/components/Formula.vue index 3d2ab5f..d10526a 100644 --- a/src/components/Formula.vue +++ b/src/components/Formula.vue @@ -128,6 +128,9 @@ const props = defineProps({ changeTab: { type: Function, }, + changeShowOperator: { + type: Function, + }, }) const webSocketStore = useWebSocketStore() @@ -149,7 +152,6 @@ const isUpdatePreSettingVisible = ref(false) const formulaInfo = ref({}) const showUpdateSetting = item => { formulaInfo.value = item - console.log(item) formulaStore.updateCurrentFormula(item) isUpdatePreSettingVisible.value = true } @@ -168,6 +170,7 @@ const runConfig = item => { formulaStore.updateCurrentFormula(item) webSocketStore.sendCommandMsg(startFormulaJSON(item.id)) props.changeTab(1) + props.changeShowOperator(false) } const addNewPre = () => { diff --git a/src/pages/Home.vue b/src/pages/Home.vue index e49cd23..6401a32 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -220,7 +220,11 @@ " /> - +

IP {{ settingStore.deviceIp }}