From 5e97647db19c652d5c0e3b44ca83fa6959207585 Mon Sep 17 00:00:00 2001 From: "wu.jian2" Date: Mon, 24 Jul 2023 17:54:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E5=88=86=E7=BB=84=EF=BC=8C=E9=87=8D=E5=A4=8D=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=B2=A1=E6=9C=89=E6=B8=85=E7=A9=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BigScreenList/CatalogEditForm.vue | 19 ++++----------- .../packages/BigScreenMag/SideMenu.vue | 19 ++++----------- .../ComponentList/CatalogEditForm.vue | 19 ++++----------- data-room-ui/packages/SourceMag/SideMenu.vue | 23 +++++++------------ 4 files changed, 23 insertions(+), 57 deletions(-) diff --git a/data-room-ui/packages/BigScreenList/CatalogEditForm.vue b/data-room-ui/packages/BigScreenList/CatalogEditForm.vue index 510ca4f3..89843795 100644 --- a/data-room-ui/packages/BigScreenList/CatalogEditForm.vue +++ b/data-room-ui/packages/BigScreenList/CatalogEditForm.vue @@ -79,7 +79,7 @@ @@ -107,7 +107,7 @@ label="排序" > @@ -85,7 +85,7 @@ label="排序" > @@ -111,7 +111,7 @@ label="排序" > 确定 + > + 确定 + @@ -162,11 +164,6 @@ export default { id: '', code: '' }, - groupForm: { - code: '', - name: '', - orderNum: '' - }, formRules: { name: [{ required: true, message: '分组名称不能为空', trigger: 'blur' }] } @@ -211,10 +208,6 @@ export default { if (!valid) { return } - this.currentCatalog = { - ...this.currentCatalog, - ...this.groupForm - } if (!this.currentCatalog.id) { this.$dataRoomAxios.post('/bigScreen/type/add', { ...this.currentCatalog, @@ -250,7 +243,7 @@ export default { }, // 编辑目录 catalogEdit () { - this.groupForm = cloneDeep(this.currentCatalog) + this.currentCatalog = cloneDeep(this.currentCatalog) this.catalogVisible = true }, // 删除目录