From 134f6903b15be3c14bba1e26ec7cdcf961ef83c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E4=BC=9F?= <943146732@qq.com>
Date: Thu, 14 Mar 2024 17:56:02 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=92=E8=A1=8C=E5=AD=97?=
=?UTF-8?q?=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/goods/category/modules/AddForm.vue | 3 +++
src/views/goods/category/modules/EditForm.vue | 8 +++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/views/goods/category/modules/AddForm.vue b/src/views/goods/category/modules/AddForm.vue
index 01164df..bbd5145 100644
--- a/src/views/goods/category/modules/AddForm.vue
+++ b/src/views/goods/category/modules/AddForm.vue
@@ -33,6 +33,9 @@
加入
+
+
+
diff --git a/src/views/goods/category/modules/EditForm.vue b/src/views/goods/category/modules/EditForm.vue
index 94777fa..a887d7a 100644
--- a/src/views/goods/category/modules/EditForm.vue
+++ b/src/views/goods/category/modules/EditForm.vue
@@ -36,6 +36,12 @@
加入
+
+
+
@@ -135,7 +141,7 @@ export default {
const { record, form: { setFieldsValue } } = this
// 设置表单内容
this.$nextTick(() => {
- setFieldsValue(_.pick(record, ['name', 'parent_id', 'image_id', 'status', 'sort', 'is_paihang', 'is_hot', 'is_in_store', 'is_brand']))
+ setFieldsValue(_.pick(record, ['name', 'parent_id', 'image_id', 'status', 'sort', 'is_paihang', 'rank_image_id', 'is_hot', 'is_in_store', 'is_brand']))
})
},