forked from github/dataease
fix: 数据源编辑名称后,页面左侧数据源列表名称不自动更新
This commit is contained in:
parent
cb489518c7
commit
fff56effdc
@ -67,6 +67,7 @@
|
||||
@editeTodisable="editDatasource"
|
||||
:canEdit="canEdit"
|
||||
ref="DsFormContent"
|
||||
@refresh-type="refreshType"
|
||||
:config-from-tabs="configFromTabs"
|
||||
/>
|
||||
</div>
|
||||
@ -101,6 +102,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
refreshType(form) {
|
||||
this.$emit('refresh-type', form)
|
||||
},
|
||||
editDatasource(type = false) {
|
||||
this.$refs.DsFormContent.editDatasource(type)
|
||||
this.canEdit = type
|
||||
|
Loading…
Reference in New Issue
Block a user