@@ -119,7 +119,7 @@ export default {
},
onSubmit () {
let bool = false
- if (this.itemname == '' && this.itemclassids.length == 0 && this.iteminfo == '' && this.agentinfo == '' && this.isonsale == '' ) {
+ if (this.itemname == '' && this.itemclassids.length == 0 && this.iteminfo == '' && this.agentinfo == '' && this.isonsale == '' && this.isonsale !== 0 ) {
bool = true
}
this.$refs['list'].param.content = {