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/ProviderDialog.vue | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/xiaozhi-esp32-server/main/manager-web/src/components/ProviderDialog.vue b/xiaozhi-esp32-server/main/manager-web/src/components/ProviderDialog.vue
index 713aefd..f03d938 100644
--- a/xiaozhi-esp32-server/main/manager-web/src/components/ProviderDialog.vue
+++ b/xiaozhi-esp32-server/main/manager-web/src/components/ProviderDialog.vue
@@ -1,7 +1,7 @@
<template>
<CustomDialog
:title="title"
- :visible.sync="visible"
+ :visible.sync="dialogVisible"
width="57%"
class="provider-dialog-wrapper"
@confirm="submit"
@@ -138,6 +138,7 @@
},
data() {
return {
+ dialogVisible: this.visible,
saving: false,
isAllFieldsSelected: false,
tableKey: 0
@@ -326,9 +327,13 @@
},
watch: {
visible(val) {
+ this.dialogVisible = val;
if (!val) {
this.resetForm();
}
+ },
+ dialogVisible(val) {
+ this.$emit('update:visible', val);
}
}
};
--
Gitblit v1.9.1