mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 10:18:11 +08:00
perf(X-Pack): 优化整合视图插件demo
This commit is contained in:
@@ -44,7 +44,6 @@ import { activeWatermark } from '@/components/watermark/watermark'
|
||||
import { personInfoApi } from '@/api/user'
|
||||
import ComponentHangPopver from '@/custom-component/independent-hang/ComponentHangPopver.vue'
|
||||
|
||||
import { PluginComponent } from '@/components/plugin'
|
||||
const snapshotStore = snapshotStoreWithOut()
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
const composeStore = composeStoreWithOut()
|
||||
@@ -1492,7 +1491,7 @@ defineExpose({
|
||||
@linkageSetOpen="linkageSetOpen(item)"
|
||||
>
|
||||
<!--如果是图表 则动态获取预存的chart-view数据-->
|
||||
<PluginComponent
|
||||
<!-- <PluginComponent
|
||||
v-if="item['isPlugin']"
|
||||
:jsname="item['pluginFlag'] || 'L2NvbXBvbmVudC9pbmRleA=='"
|
||||
class="component"
|
||||
@@ -1509,10 +1508,10 @@ defineExpose({
|
||||
@input="handleInput"
|
||||
:dv-info="dvInfo"
|
||||
:canvas-active="canvasActive"
|
||||
/>
|
||||
/> -->
|
||||
<component
|
||||
:is="findComponent(item.component)"
|
||||
v-else-if="item.component === 'UserView'"
|
||||
v-if="item.component === 'UserView' || item['isPlugin']"
|
||||
class="component"
|
||||
:id="'component' + item.id"
|
||||
:active="item.id === curComponentId"
|
||||
|
||||
Reference in New Issue
Block a user