更新
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="u-m-t-24">
|
||||
<template v-if="data.skuList.length>=1">
|
||||
<template v-if="data.type == 'sku' && data.skuList.length>=1">
|
||||
<view class="u-flex u-flex-wrap w-full gap-10 u-col-top" :style="skuStyle">
|
||||
<view class="u-font-24 info-p-l u-m-t-6">规格:</view>
|
||||
<view class="skd" v-for="(item,index) in data.skuList" :key="index"
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
$updateProductData
|
||||
} from "@/http/yskApi/goods.js"
|
||||
import {
|
||||
getProductList,
|
||||
getProductPage,
|
||||
getCategoryList,
|
||||
updateProduct
|
||||
} from '@/api/product.js'
|
||||
@@ -223,7 +223,7 @@
|
||||
*/
|
||||
function getGoodsList() {
|
||||
pageData.hasAjax = false
|
||||
getProductList(pageData.query).then(res => {
|
||||
getProductPage(pageData.query).then(res => {
|
||||
pageData.hasAjax = true
|
||||
pageData.goodsList = res.records.map(v => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user