Commit b2e7a89a by liuchenxi

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

parent 253c33a6
...@@ -86,15 +86,7 @@ export default { ...@@ -86,15 +86,7 @@ export default {
const that = this; const that = this;
that.$refs[formName].validate(valid => { that.$refs[formName].validate(valid => {
if (valid) { if (valid) {
this.$confirm('是否确认提交?', '提示', { that.postSave();
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
that.postSave();
})
.catch(() => {});
} }
}); });
}, 300), }, 300),
......
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