updata:智控台页面添加语言切换,支持中英繁

This commit is contained in:
rainv123
2025-09-12 11:41:31 +08:00
parent 7396605844
commit 5b4381c257
8 changed files with 75 additions and 33 deletions
@@ -107,16 +107,9 @@ export default {
this.$refs.form.validate((valid) => {
if (valid) {
this.saving = true; // 开始加载
this.$emit('submit', {
form: this.form,
done: () => {
this.saving = false; // 加载完成
}
});
this.$emit('submit', this.form);
setTimeout(() => {
this.saving = false;
}, 3000);
// 在父组件处理完成后,通过watch visible的变化来重置saving状态
}
});
},