特殊情况下会报错问题处理

master
Chopper 2021-06-21 16:03:23 +08:00
parent 597af1a210
commit 4a6fd431bc
1 changed files with 3 additions and 0 deletions

View File

@ -1203,6 +1203,9 @@ export default {
); );
}, },
async GET_SkuSpec() { async GET_SkuSpec() {
if(!this.specSelected){
return;
}
let specResult = await API_GOODS.getSpecListSellerData({ let specResult = await API_GOODS.getSpecListSellerData({
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,