From 1d06b939e51d669f7a69a052f5d8c1383d93e54b Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Wed, 26 May 2021 11:15:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20assetMeta=E5=88=9B=E5=BB=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=AF=B9=E8=B1=A1=E4=B8=AD=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?group=E7=A9=BA=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/rightBox/assetMetaBox.vue | 4 ++-- nezha-fronted/src/components/page/config/assetMeta.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue b/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue index 93b47e4a3..1a28d2b5f 100644 --- a/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue +++ b/nezha-fronted/src/components/common/rightBox/assetMetaBox.vue @@ -19,7 +19,7 @@ - + @@ -158,7 +158,7 @@ export default { rules: { name: [{ required: true, message: this.$t('validate.required'), trigger: 'change' }], metaKey: [{ required: true, message: this.$t('validate.required'), trigger: 'change' }, { pattern: /\w/, message: this.$t('validate.onlyWord'), trigger: 'change' }], - groupName: [{ required: true, message: this.$t('validate.required'), trigger: 'change' }], + groupId: [{ required: true, message: this.$t('validate.required'), trigger: 'change' }], type: [{ required: true, message: this.$t('validate.required'), trigger: 'change' }] }, value: '', diff --git a/nezha-fronted/src/components/page/config/assetMeta.vue b/nezha-fronted/src/components/page/config/assetMeta.vue index b56ebeb9c..5002674d9 100644 --- a/nezha-fronted/src/components/page/config/assetMeta.vue +++ b/nezha-fronted/src/components/page/config/assetMeta.vue @@ -136,6 +136,7 @@ export default { name: '', metaKey: '', groupId: '', + group: {}, search: '0', display: '0', type: 'TEXT',