mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 09:48:10 +08:00
refactor(图表): 图表插件渲染逻辑优化
This commit is contained in:
@@ -801,6 +801,13 @@ onMounted(() => {
|
||||
initTitle()
|
||||
const viewInfo = val ? val : view.value
|
||||
nextTick(() => {
|
||||
if (view.value?.plugin?.isPlugin) {
|
||||
chartComponent?.value?.invokeMethod({
|
||||
methodName: 'renderChart',
|
||||
args: [viewInfo]
|
||||
})
|
||||
return
|
||||
}
|
||||
chartComponent?.value?.renderChart?.(viewInfo)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user