mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
refactor(图表): 插件图标初始化
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user