Commit ea67813e by 黑潮

update: 修改

parent cf0603d3
......@@ -133,7 +133,7 @@ export default {
},
// spu库存
limitVirtualStock() {
if (Number(this.virtualStock < 0)) {
if (Number(this.virtualStock <= 0)) {
this.$message.error('请输入大于0的数字');
this.virtualStock = '';
} else if (!Number(this.virtualStock)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment