forked from github/dataease
fix(嵌入式): 多视图测试
This commit is contained in:
parent
b3ee605655
commit
6b0ba32d89
@ -87,6 +87,8 @@ onBeforeMount(async () => {
|
||||
}
|
||||
|
||||
viewInfo.value = canvasViewInfoPreview[embeddedStore.chartId]
|
||||
console.log(embeddedStore.chartId, 'embeddedStore.chartId')
|
||||
|
||||
;(
|
||||
(canvasDataResult as unknown as Array<{
|
||||
id: string
|
||||
|
@ -1,5 +1,7 @@
|
||||
import { defineStore } from 'pinia'
|
||||
import { store } from '../index'
|
||||
import { cloneDeep } from 'lodash-es'
|
||||
|
||||
interface AppState {
|
||||
type: string
|
||||
token: string
|
||||
@ -197,5 +199,6 @@ export const userStore = defineStore('embedded', {
|
||||
})
|
||||
|
||||
export const useEmbedded = () => {
|
||||
console.log('cloneDeep', cloneDeep(store))
|
||||
return userStore(store)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user