This commit is contained in:
1 parent
d4fdec6c76
commit
4465ff8016
1 file changed
+1
-2
@@ -33,7 +33,7 @@
|
||||
:minHeight="66"
|
||||
:fontSize="28"
|
||||
:showClear="true"
|
||||
:focus="true"
|
||||
:focus="false"
|
||||
placeholder="请输入商品名称"
|
||||
style="border: 2rpx solid #0779fd; border-radius: 14rpx"
|
||||
:focus-highlight="false"
|
||||
@@ -220,7 +220,6 @@ const treeToList = <T extends { children?: T[] }>(tree: T[], result: T[] = []):
|
||||
// 获取分类
|
||||
const getClassify = async () => {
|
||||
if (state.curMerchant.id) {
|
||||
// const { data } = await shopApi.getSupermarketSpuCategory({ merchantId: state.curMerchant.id })
|
||||
const { data } = await onlineShopApi.getSpuCategory()
|
||||
state.classifyList = treeToList(data) ?? []
|
||||
state.classifyList.unshift({ id: "", name: "全部分类" })
|
||||
|
||||
Reference in new issue
Block a user