From c1a86bca291fc31674a0223e136c5032c20314ad Mon Sep 17 00:00:00 2001 From: zyh Date: Thu, 7 Dec 2023 11:11:33 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3354=20fix=EF=BC=9AAsset=20attributes=20?= =?UTF-8?q?=E5=85=83=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=90=8C=E6=AD=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/rightBox/assetMetaBox.vue | 8 +- .../rightBox/software/softwareAssetBox.vue | 93 ++++++++++++------- .../rightBox/software/softwareTypeBox.vue | 82 ++++++++++------ .../common/table/asset/assetMetaTable.vue | 4 +- 4 files changed, 119 insertions(+), 68 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue b/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue index 332658666..d5c415ab5 100644 --- a/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue +++ b/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue @@ -12,12 +12,12 @@
- + - + @@ -336,9 +336,7 @@ export default { t.disabled = false }) } else if (value == 1) { - if (this.editAssetMeta.type !== 'RADIO' && - this.editAssetMeta.type !== 'CHECKBOX' && - this.editAssetMeta.type !== 'SELECT') { + if (this.editAssetMeta.type !== 'RADIO' && this.editAssetMeta.type !== 'CHECKBOX' && this.editAssetMeta.type !== 'SELECT') { flag = false this.editAssetMeta.type = 'RADIO' } diff --git a/nezha-fronted/src/components/common/rightBox/software/softwareAssetBox.vue b/nezha-fronted/src/components/common/rightBox/software/softwareAssetBox.vue index cb2bb38f7..9aad50f30 100644 --- a/nezha-fronted/src/components/common/rightBox/software/softwareAssetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/software/softwareAssetBox.vue @@ -52,7 +52,7 @@ - +