|
@@ -799,9 +799,11 @@ var vm = new Vue({
|
|
}
|
|
}
|
|
vm.guigeArr.forEach(function (item) {
|
|
vm.guigeArr.forEach(function (item) {
|
|
item.val.forEach(function(i) {
|
|
item.val.forEach(function(i) {
|
|
- if (!i.name) {
|
|
|
|
- pass = false
|
|
|
|
- alert('商品规格请填写完整')
|
|
|
|
|
|
+ if (!i.name || !i.picUrl) {
|
|
|
|
+ if (pass) {
|
|
|
|
+ alert('商品规格请填写完整')
|
|
|
|
+ pass = false
|
|
|
|
+ }
|
|
}
|
|
}
|
|
})
|
|
})
|
|
})
|
|
})
|