mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 00:02:51 +08:00
fix: 修改useChartHistoryStoreStore命名错误
This commit is contained in:
parent
43b9b72369
commit
0053daed2f
@ -3,7 +3,7 @@ import { {{upperDataName}}StoreType } from './{{name}}Store.d'
|
||||
import { setLocalStorage, getLocalStorage } from '@/utils'
|
||||
import { StorageEnum } from '@/enums/storageEnum'
|
||||
|
||||
export const use{{upperDataName}}StoreStore = defineStore({
|
||||
export const use{{upperDataName}}Store = defineStore({
|
||||
id: 'use{{upperDataName}}Store',
|
||||
state: (): {{name}}StoreType => ({}),
|
||||
getters: {},
|
||||
|
@ -6,7 +6,7 @@ import cloneDeep from 'lodash/cloneDeep'
|
||||
import { defaultTheme, globalThemeJson } from '@/settings/chartThemes/index'
|
||||
import { requestInterval } from '@/settings/designSetting'
|
||||
// 记录记录
|
||||
import { useChartHistoryStoreStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
|
||||
import { useChartHistoryStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
|
||||
import { HistoryActionTypeEnum, HistoryItemType, HistoryTargetTypeEnum } from '@/store/modules/chartHistoryStore/chartHistoryStore.d'
|
||||
import {
|
||||
ChartEditStoreEnum,
|
||||
@ -20,7 +20,7 @@ import {
|
||||
EditCanvasConfigType
|
||||
} from './chartEditStore.d'
|
||||
|
||||
const chartHistoryStoreStore = useChartHistoryStoreStore()
|
||||
const chartHistoryStoreStore = useChartHistoryStore()
|
||||
|
||||
// 编辑区域内容
|
||||
export const useChartEditStore = defineStore({
|
||||
|
@ -10,7 +10,7 @@ import {
|
||||
ChartHistoryStoreType
|
||||
} from './chartHistoryStore.d'
|
||||
|
||||
export const useChartHistoryStoreStore = defineStore({
|
||||
export const useChartHistoryStore = defineStore({
|
||||
id: 'useChartHistoryStore',
|
||||
state: (): ChartHistoryStoreType => ({
|
||||
// 后退栈
|
||||
|
@ -34,7 +34,7 @@
|
||||
import { ref, computed } from 'vue'
|
||||
import { icon } from '@/plugins'
|
||||
import { renderIcon } from '@/utils'
|
||||
import { useChartHistoryStoreStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
|
||||
import { useChartHistoryStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
|
||||
import { historyActionTypeName } from '@/store/modules/chartHistoryStore/chartHistoryDefine'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import {
|
||||
@ -55,7 +55,7 @@ const {
|
||||
const { StackedMoveIcon } = icon.carbon
|
||||
const showDropdownRef = ref(false)
|
||||
|
||||
const chartHistoryStoreStore = useChartHistoryStoreStore()
|
||||
const chartHistoryStoreStore = useChartHistoryStore()
|
||||
|
||||
// 设置类型对应图标
|
||||
const iconHandle = (e: HistoryItemType) => {
|
||||
|
@ -39,9 +39,9 @@ import { loadAsyncComponent } from '@/utils'
|
||||
import { LayoutHeaderPro } from '@/layout/components/LayoutHeaderPro'
|
||||
import { useContextMenu } from './hooks/useContextMenu.hook'
|
||||
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
||||
import { useChartHistoryStoreStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
|
||||
import { useChartHistoryStore } from '@/store/modules/chartHistoryStore/chartHistoryStore'
|
||||
|
||||
const chartHistoryStoreStore = useChartHistoryStoreStore()
|
||||
const chartHistoryStoreStore = useChartHistoryStore()
|
||||
const chartEditStore = useChartEditStore()
|
||||
|
||||
// 记录初始化
|
||||
|
Loading…
Reference in New Issue
Block a user