forked from github/dataease
Merge pull request #10677 from dataease/pr@dev-v2@refactor_chart_plugin_init
refactor(图表): 插件图标初始化
This commit is contained in:
commit
8515a76954
@ -393,6 +393,7 @@ export const dvMainStore = defineStore('dataVisualization', {
|
||||
id: component.id,
|
||||
type: component.innerType,
|
||||
render: component.render,
|
||||
isPlugin: component.isPlugin,
|
||||
plugin: {
|
||||
isPlugin: component.isPlugin,
|
||||
staticMap: component.staticMap
|
||||
|
@ -516,7 +516,9 @@ const listenerEnable = computed(() => {
|
||||
return !showPosition.value.includes('viewDialog')
|
||||
})
|
||||
onMounted(() => {
|
||||
queryData(true && !showPosition.value.includes('viewDialog'))
|
||||
if (!view.value.isPlugin) {
|
||||
queryData(true && !showPosition.value.includes('viewDialog'))
|
||||
}
|
||||
if (!listenerEnable.value) {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user