修复商品管理的bug

This commit is contained in:
2024-07-28 02:12:17 +08:00
parent 032d046dd8
commit 8c16f8df9c
3 changed files with 3 additions and 3 deletions

View File

@@ -608,7 +608,7 @@
const goodsId = props.data?.goodsId;
if(goodsId){
listGoodsSpec({goodsId}).then(data => {
console.log(data[0].specValue);
const specValue = data[0].specValue;
if(specValue){
spec.value = JSON.parse(specValue).map( d => {