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 }}