【fix】优化代码

This commit is contained in:
黄少君
2024-02-22 18:37:23 +08:00
parent 17c043348a
commit f8fac0a5bc
246 changed files with 973 additions and 406 deletions

View File

@ -22,7 +22,6 @@ export default function (componentContent, typeId, shopId) {
})
function getData () {
if (componentContent.value.id) {
beforeGetData()
const params = {
method: 'POST',
@ -42,9 +41,6 @@ export default function (componentContent, typeId, shopId) {
afterGetData()
}
)
} else {
productList.value = []
}
}
return {