From 3f2a339cbad3512f6b3df146ef291ab5c566a036 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 13 Jan 2025 11:49:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=8E=E5=8F=B0=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E7=BC=96=E8=BE=91=E5=9B=BD=E9=99=85=E5=8C=96=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 68 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 61 insertions(+), 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index a3fcdc21..35291ad6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,12 +23,38 @@ > i18n - -
- - + +
+ + + + + + +
@@ -53,7 +79,7 @@ - + - + + + +
取消 @@ -111,6 +158,7 @@ export default { key: null, arr: [], il8nExternal: false, + State: null, } }, mounted() { @@ -147,6 +195,11 @@ export default { // }, // }, methods: { + handleStateChange() { + this.tableData.forEach((item) => { + item.State = this.State + }) + }, changeValue(target, attr, e) { this.$set(target, attr, e) }, @@ -212,6 +265,7 @@ export default { Module: item.Module, Value: item.Value, ValueCN: item.ValueCN, + State: item.State, } }) this.tableData = Object.assign([], tableData)