add
This commit is contained in:
parent
45b8ef63bd
commit
3f722e005b
|
@ -325,14 +325,14 @@
|
|||
const goodClassTow = ref([]); // 二级分类
|
||||
const goodClassThree = ref([]); // 三级分类
|
||||
const classMap = new Map();
|
||||
const getgoodClassList = (pid = 0, three = 0) => {
|
||||
const getgoodClassList = (pid = 0, three = 1) => {
|
||||
let page_no = classMap.get(pid) || 1;
|
||||
// console.log(classMap.get(pid));
|
||||
goodClassListApi({
|
||||
pid: pid,
|
||||
page_no: page_no,
|
||||
page_size: 30,
|
||||
leve: three,
|
||||
level: three,
|
||||
store_id: STORE_INFO.id || '' // 店铺id,用于获取店铺分类列表,如果为空则获取全部分类列表,否则获取店铺分类列表。
|
||||
}).then(res => {
|
||||
if (pid == 0) { // 加载一级分类时设置全部分类
|
||||
|
|
Loading…
Reference in New Issue