Browse Source

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

master
LIONCITYS\lioncity 4 years ago
parent
commit
6d222cf1cb
  1. 1
      src/views/generator/config.vue

1
src/views/generator/config.vue

@ -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

Loading…
Cancel
Save