收藏筛选类目
This commit is contained in:
parent
753c9932aa
commit
18805583c1
|
|
@ -203,8 +203,7 @@ export default {
|
|||
// 加载一级分类并自动组装其对应的二级分类,兼容 state === 1
|
||||
async loadFilterCategories() {
|
||||
try {
|
||||
const syrId = uni.getStorageSync('syrId') || 1;
|
||||
const res = await request.post('/sj/firstclass', { id: syrId })
|
||||
const res = await request.post('/sj/firstclass', {})
|
||||
if ((res.code === 200 || res.state === 1) && res.data) {
|
||||
const firstClasses = res.data;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue