fix: 数据源编辑名称后,页面左侧数据源列表名称不自动更新

This commit is contained in:
dataeaseShu 2023-02-08 16:28:25 +08:00
parent cb489518c7
commit fff56effdc

View File

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