From ef21d10f9cab971e30264ba3171f12bc97716f36 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 13 Mar 2023 14:11:34 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2678=20fix=EF=BC=9A=20Asset=20attributes?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8DOptions=E5=90=8E=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF=E4=BE=9D=E7=84=B6=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/assetMetaBox.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue b/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue index f0d8561d5..3762ceca9 100644 --- a/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue +++ b/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue @@ -463,6 +463,12 @@ export default { return } this.editAssetMeta.param.items.splice(index, 1) + // 'param.items.'+ index + '.name' + const arr = [] + this.editAssetMeta.param.items.forEach((item, index) => { + arr.push('param.items.' + index + '.name') + }) + this.$refs.editAssetMetaForm.clearValidate(arr) this.$forceUpdate() }, copyParam (index) {