修复代码第二次生成时,apiPath不改变

This commit is contained in:
LIONCITYS\lioncity
2020-11-17 11:45:02 +08:00
parent 5c543fdf26
commit 6d222cf1cb

View File

@ -267,6 +267,7 @@ export default {
this.$refs['form'].validate((valid) => {
if (valid) {
this.configLoading = true
this.form.apiPath='';
update(this.form).then(res => {
this.notify('保存成功', 'success')
this.form = res