Commit e7662c65 by liuchenxi

update: 取消添加小程序二次确认

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