From 17ac2ce0ed52874616c79c910667e41e34604826 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期一, 31 八月 2026 13:14:12 +0800
Subject: [PATCH] add translation app

---
 xiaozhi-esp32-server/main/manager-web/src/components/ParamDialog.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/xiaozhi-esp32-server/main/manager-web/src/components/ParamDialog.vue b/xiaozhi-esp32-server/main/manager-web/src/components/ParamDialog.vue
index 0f6de8d..d436549 100644
--- a/xiaozhi-esp32-server/main/manager-web/src/components/ParamDialog.vue
+++ b/xiaozhi-esp32-server/main/manager-web/src/components/ParamDialog.vue
@@ -1,7 +1,7 @@
 <template>
   <CustomDialog
     :title="title"
-    :visible.sync="visible"
+    :visible.sync="dialogVisible"
     width="600px"
     class="param-dialog-wrapper"
     @confirm="submit"
@@ -84,6 +84,7 @@
   },
   data() {
     return {
+      dialogVisible: this.visible,
       dialogKey: Date.now(),
       saving: false,
       valueTypeOptions: [
@@ -157,6 +158,7 @@
   },
   watch: {
     visible(newVal) {
+      this.dialogVisible = newVal;
       if (newVal) {
         if (this.form.paramValue) {
           // 濡傛灉鏄� json 绫诲瀷锛屾牸寮忓寲鏄剧ず
@@ -178,6 +180,9 @@
         // 褰撳璇濇鍏抽棴鏃讹紝閲嶇疆saving鐘舵��
         this.saving = false;
       }
+    },
+    dialogVisible(val) {
+      this.$emit('update:visible', val);
     }
   }
 };

--
Gitblit v1.9.1