From 818de388d0d16c33d1b9097e37c4237c3c00d0ab Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Thu, 23 Jun 2022 09:56:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E7=B1=BB=E7=AE=A1=E7=90=86=20bug?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/category/fileNoFormat/index.vue | 6 +++--- src/views/category/listBrowsing/index.vue | 4 ++-- src/views/category/orderingRule/index.vue | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/category/fileNoFormat/index.vue b/src/views/category/fileNoFormat/index.vue index 6af77c7..bad3116 100644 --- a/src/views/category/fileNoFormat/index.vue +++ b/src/views/category/fileNoFormat/index.vue @@ -30,7 +30,7 @@ - + @@ -134,12 +134,12 @@ export default { Vue.set(item, 'categoryId', this.selectedCategory.id) }) this.$refs.cuform.title = '新增字段' - this.$refs.cuform.formData.fields = this.table.left.selections + Vue.set(this.$refs.cuform.formData, 'fields', JSON.parse(JSON.stringify(this.table.left.selections))) this.$refs.cuform.cuDialogVisible = true }, toEdit() { this.$refs.cuform.title = '编辑字段' - this.$refs.cuform.formData.fields = this.table.right.selections + Vue.set(this.$refs.cuform.formData, 'fields', JSON.parse(JSON.stringify(this.table.right.selections))) this.$refs.cuform.cuDialogVisible = true }, toDelete() { diff --git a/src/views/category/listBrowsing/index.vue b/src/views/category/listBrowsing/index.vue index 21d3ee8..d479b81 100644 --- a/src/views/category/listBrowsing/index.vue +++ b/src/views/category/listBrowsing/index.vue @@ -171,12 +171,12 @@ export default { item.isDisplay = true }) this.$refs.cuform.title = '新增字段' - this.$refs.cuform.formData.fields = this.table.left.selections + Vue.set(this.$refs.cuform.formData, 'fields', JSON.parse(JSON.stringify(this.table.left.selections))) this.$refs.cuform.cuDialogVisible = true }, toEdit() { this.$refs.cuform.title = '编辑字段' - this.$refs.cuform.formData.fields = this.table.right.selections + Vue.set(this.$refs.cuform.formData, 'fields', JSON.parse(JSON.stringify(this.table.right.selections))) this.$refs.cuform.cuDialogVisible = true }, toDelete() { diff --git a/src/views/category/orderingRule/index.vue b/src/views/category/orderingRule/index.vue index 8dd05dc..9de567b 100644 --- a/src/views/category/orderingRule/index.vue +++ b/src/views/category/orderingRule/index.vue @@ -142,12 +142,12 @@ export default { Vue.set(item, 'displayOrderBy', 'asc') }) this.$refs.cuform.title = '新增字段' - this.$refs.cuform.formData.fields = this.table.left.selections + Vue.set(this.$refs.cuform.formData, 'fields', JSON.parse(JSON.stringify(this.table.left.selections))) this.$refs.cuform.cuDialogVisible = true }, toEdit() { this.$refs.cuform.title = '编辑字段' - this.$refs.cuform.formData.fields = this.table.right.selections + Vue.set(this.$refs.cuform.formData, 'fields', JSON.parse(JSON.stringify(this.table.right.selections))) this.$refs.cuform.cuDialogVisible = true }, toDelete() {