chore: update deps

This commit is contained in:
kailong321200875
2022-06-05 20:39:16 +08:00
parent 1c339a6039
commit a4526d7cb4
9 changed files with 182 additions and 182 deletions

View File

@@ -1,4 +1,4 @@
import type { App } from 'vue'
// import type { App } from 'vue'
// 需要全局引入一些组件如ElScrollbar不然一些下拉项样式有问题
import { ElLoading, ElScrollbar } from 'element-plus'
@@ -7,7 +7,7 @@ const plugins = [ElLoading]
const components = [ElScrollbar]
export const setupElementPlus = (app: App) => {
export const setupElementPlus = (app: any) => {
plugins.forEach((plugin) => {
app.use(plugin)
})

View File

@@ -1,4 +1,4 @@
import type { App } from 'vue'
// import type { App } from 'vue'
import { createI18n } from 'vue-i18n'
import { useLocaleStoreWithOut } from '@/store/modules/locale'
import type { I18n, I18nOptions } from 'vue-i18n'
@@ -35,7 +35,7 @@ const createI18nOptions = async (): Promise<I18nOptions> => {
}
}
export const setupI18n = async (app: App) => {
export const setupI18n = async (app: any) => {
const options = await createI18nOptions()
i18n = createI18n(options) as I18n
app.use(i18n)