fix: 修改版本冲突导致报错的问题

This commit is contained in:
奔跑的面条
2022-04-15 17:48:02 +08:00
parent 4f16531016
commit 9fbe2500e0
6 changed files with 125 additions and 143 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export const langList = [
const i18n = createI18n({
locale: langStorage?.lang || lang,
globalInjection: true,
legacy: false,
messages: {
[LangEnum.zh]: zh,
[LangEnum.en]: en
@@ -27,19 +27,19 @@ const menuOptions:{
const packagesListObj = {
[PackagesCategoryEnum.CHARTS]: {
icon: renderIcon(RoadmapIcon),
label: renderLang(PackagesCategoryName.CHARTS),
label: PackagesCategoryName.CHARTS,
},
[PackagesCategoryEnum.INFORMATIONS]: {
icon: renderIcon(SpellCheckIcon),
label: renderLang(PackagesCategoryName.INFORMATIONS),
label: PackagesCategoryName.INFORMATIONS,
},
[PackagesCategoryEnum.TABLES]: {
icon: renderIcon(TableSplitIcon),
label: renderLang(PackagesCategoryName.TABLES),
label: PackagesCategoryName.TABLES,
},
[PackagesCategoryEnum.DECORATES]: {
icon: renderIcon(GraphicalDataFlowIcon),
label: renderLang(PackagesCategoryName.DECORATES),
label: PackagesCategoryName.DECORATES,
},
}
+1 -1
View File
@@ -37,7 +37,7 @@
</template>
<script setup lang="ts">
import { computed, toRaw, ref, watch } from 'vue'
import { computed, toRaw } from 'vue'
import Draggable from 'vuedraggable'
import cloneDeep from 'lodash/cloneDeep'
@@ -42,7 +42,7 @@ import { fetchPathByName, routerTurnByPath, renderLang, getUUID } from '@/utils'
const { FishIcon, CloseIcon } = icon.ionicons5
const { StoreIcon, ObjectStorageIcon } = icon.carbon
const t = window['$t']
const $t = window['$t']
const emit = defineEmits(['close'])
const props = defineProps({
show: Boolean