Commit 991e90c2 by crushh

update: dist

parent dc4184bb
...@@ -181,7 +181,7 @@ export default { ...@@ -181,7 +181,7 @@ export default {
}); });
}, },
handleSubmit (form) { handleSubmit (form) {
if (!this.form.stockShowAmount) return this.$message.warning('请输入库存提示文案数量限制'); if (this.form.stockShow && !this.form.stockShowAmount) return this.$message.warning('请输入库存提示文案数量限制');
this.$refs[form].validate(valid => { this.$refs[form].validate(valid => {
console.log(valid); console.log(valid);
if (valid) { if (valid) {
......
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