From 15a3d008011d8d62868af60c8dd1bdf9c31904a8 Mon Sep 17 00:00:00 2001
From: DongZeLiang <2746733890@qq.com>
Date: Mon, 25 Nov 2024 19:44:29 +0800
Subject: [PATCH] =?UTF-8?q?fix():=20=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/CheckAttribute/index.vue | 3 +++
src/views/product/attributeGroup/index.vue | 3 ++-
src/views/product/category/index.vue | 16 ++++++++++++----
src/views/product/info/index.vue | 7 ++++++-
4 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/src/components/CheckAttribute/index.vue b/src/components/CheckAttribute/index.vue
index 5b20ab3..6854f53 100644
--- a/src/components/CheckAttribute/index.vue
+++ b/src/components/CheckAttribute/index.vue
@@ -99,7 +99,9 @@ export default {
data() {
return {
attributeIdList: [],
+ // 选中集合
checkedAttributeList: [],
+ // 未选属性的查询参数
attributeQuery: {
pageNum: 1,
pageSize: 10,
@@ -107,6 +109,7 @@ export default {
name: null
},
attributeTotal: 0,
+ // 查询出来未选属性的结果
attributeList: []
}
},
diff --git a/src/views/product/attributeGroup/index.vue b/src/views/product/attributeGroup/index.vue
index 4a3b7df..bba261f 100644
--- a/src/views/product/attributeGroup/index.vue
+++ b/src/views/product/attributeGroup/index.vue
@@ -141,7 +141,7 @@