Commit 8ff50b53 by liuchenxi

Merge branch 'feature/销售线索迭代3' into dev

parents 89abfef9 e7662c65
......@@ -82,10 +82,10 @@ export default {
that.$refs['ruleForm'].resetFields();
},
submitForm: _debounce(function(formName) {
if (!this.ruleForm.imageUrl) return this.$message.warning('请提供小程序的封面');
const that = this;
that.$refs[formName].validate(valid => {
if (valid) {
if (!this.ruleForm.imageUrl) return this.$message.warning('请提供小程序的封面');
that.postSave();
}
});
......
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