修改代码格式
This commit is contained in:
1 parent
3fa0011ebf
commit
8870a68fba
18 files changed
+416
-339
No files matched your search
@@ -190,20 +190,20 @@ const handleSelectDialogConfirm = () => {
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
// 获取商品分类
|
||||
try {
|
||||
const res = await getSupermarketCategory()
|
||||
supermarketCategory.value = res.data
|
||||
} catch (error) {
|
||||
supermarketCategory.value = []
|
||||
}
|
||||
// 获取商品品牌
|
||||
try {
|
||||
const res = await getSupermarketBrand()
|
||||
supermarketBrand.value = res.data
|
||||
} catch (error) {
|
||||
supermarketBrand.value = []
|
||||
}
|
||||
// // 获取商品分类
|
||||
// try {
|
||||
// const res = await getSupermarketCategory()
|
||||
// supermarketCategory.value = res.data
|
||||
// } catch (error) {
|
||||
// supermarketCategory.value = []
|
||||
// }
|
||||
// // 获取商品品牌
|
||||
// try {
|
||||
// const res = await getSupermarketBrand()
|
||||
// supermarketBrand.value = res.data
|
||||
// } catch (error) {
|
||||
// supermarketBrand.value = []
|
||||
// }
|
||||
})
|
||||
|
||||
defineExpose({
|
||||
|
||||
Reference in new issue
Block a user