更新
This commit is contained in:
@@ -33,9 +33,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive,ref,onMounted } from 'vue';
|
||||
import { $tbShopCategory, $tbProductV2 } from "@/http/yskApi/goods.js"
|
||||
import { getProductList, getCategoryList } from '@/api/product.js'
|
||||
import { reactive,ref,onMounted } from 'vue';
|
||||
import { $tbShopCategory, $tbProductV2 } from "@/http/yskApi/goods.js"
|
||||
import { getProductPage, getCategoryList } from '@/api/product.js'
|
||||
const props=defineProps({
|
||||
show:{
|
||||
type:Boolean,
|
||||
@@ -78,7 +78,7 @@ import { $tbShopCategory, $tbProductV2 } from "@/http/yskApi/goods.js"
|
||||
})
|
||||
}
|
||||
function getGoodsList () {
|
||||
getProductList(category.query).then(res => {
|
||||
getProductPage(category.query).then(res => {
|
||||
category.goodsList = res.records.map(v => {
|
||||
return {
|
||||
...v,
|
||||
|
||||
Reference in New Issue
Block a user