diff --git a/core/core-frontend/src/store/modules/app.ts b/core/core-frontend/src/store/modules/app.ts index bcbc994db4..01af127df8 100644 --- a/core/core-frontend/src/store/modules/app.ts +++ b/core/core-frontend/src/store/modules/app.ts @@ -11,6 +11,7 @@ interface AppState { desktop: boolean isDataEaseBi: boolean isIframe: boolean + arrowSide: boolean } export const useAppStore = defineStore('app', { @@ -22,13 +23,17 @@ export const useAppStore = defineStore('app', { dekey: 'DataEaseKey', isDataEaseBi: false, isIframe: false, - desktop: false + desktop: false, + arrowSide: false } }, getters: { getSize(): boolean { return this.size }, + getArrowSide(): boolean { + return this.arrowSide + }, getPageLoading(): boolean { return this.pageLoading }, @@ -58,6 +63,9 @@ export const useAppStore = defineStore('app', { setSize(size: boolean) { this.size = size }, + setArrowSide(ArrowSide: boolean) { + this.arrowSide = ArrowSide + }, setIsDataEaseBi(isDataEaseBi: boolean) { this.isDataEaseBi = isDataEaseBi }, diff --git a/core/core-frontend/src/views/common/DeResourceArrow.vue b/core/core-frontend/src/views/common/DeResourceArrow.vue index 584db15175..c60287cf44 100644 --- a/core/core-frontend/src/views/common/DeResourceArrow.vue +++ b/core/core-frontend/src/views/common/DeResourceArrow.vue @@ -1,24 +1,34 @@