Merge pull request #4486 from dataease/pr@dev_memory_component

Pr@dev memory component
This commit is contained in:
dataeaseShu 2023-02-08 16:36:45 +08:00 committed by GitHub
commit dfa73300e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,7 @@
@editeTodisable="editDatasource" @editeTodisable="editDatasource"
:canEdit="canEdit" :canEdit="canEdit"
ref="DsFormContent" ref="DsFormContent"
@refresh-type="refreshType"
:config-from-tabs="configFromTabs" :config-from-tabs="configFromTabs"
/> />
</div> </div>
@ -101,6 +102,9 @@ export default {
} }
}, },
methods: { methods: {
refreshType(form) {
this.$emit('refresh-type', form)
},
editDatasource(type = false) { editDatasource(type = false) {
this.$refs.DsFormContent.editDatasource(type) this.$refs.DsFormContent.editDatasource(type)
this.canEdit = type this.canEdit = type