fix: 创建数据源保存后没有退回数据源列表页面

This commit is contained in:
dataeaseShu 2022-12-29 17:38:48 +08:00
parent bcf4bbe8b0
commit d5798723c9
2 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@
<div style="height: calc(100% - 56px)">
<DsFormContent
ref="DsFormContent"
@editeTodisable="backToList"
:outer-params="outerParams"
:reference-position="referencePosition"
:form-type.sync="formType"

View File

@ -1058,7 +1058,7 @@ export default {
method(form).then((res) => {
this.$success(i18n.t('commons.save_success'))
this.refreshType(form)
this.$router.push('/datasource/index')
this.backToList()
}).finally(() => {
this.$emit('update:formLoading', false)
})