fix: 修改useChartHistoryStoreStore命名错误

This commit is contained in:
MTrun
2022-03-25 20:00:21 +08:00
parent 43b9b72369
commit 0053daed2f
5 changed files with 8 additions and 8 deletions
@@ -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) => {
+2 -2
View File
@@ -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()
// 记录初始化