forked from github/dataease
fix: 创建数据源保存后没有退回数据源列表页面
This commit is contained in:
parent
bcf4bbe8b0
commit
d5798723c9
@ -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"
|
||||
|
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user