修复代码第二次生成时,apiPath不改变
This commit is contained in:
@ -267,6 +267,7 @@ export default {
|
|||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.configLoading = true
|
this.configLoading = true
|
||||||
|
this.form.apiPath='';
|
||||||
update(this.form).then(res => {
|
update(this.form).then(res => {
|
||||||
this.notify('保存成功', 'success')
|
this.notify('保存成功', 'success')
|
||||||
this.form = res
|
this.form = res
|
||||||
|
|||||||
Reference in New Issue
Block a user