build: update plugins
This commit is contained in:
parent
d2be8c1a30
commit
9c13d92b36
32
package.json
32
package.json
|
@ -26,16 +26,16 @@
|
|||
"postinstall": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify/iconify": "^2.1.2",
|
||||
"@vueuse/core": "^8.1.1",
|
||||
"@wangeditor/editor": "^0.15.14",
|
||||
"@iconify/iconify": "^2.2.0",
|
||||
"@vueuse/core": "^8.2.0",
|
||||
"@wangeditor/editor": "^0.15.15",
|
||||
"@wangeditor/editor-for-vue": "^5.1.8-7",
|
||||
"@zxcvbn-ts/core": "^2.0.0",
|
||||
"@zxcvbn-ts/core": "^2.0.1",
|
||||
"animate.css": "^4.1.1",
|
||||
"axios": "^0.26.1",
|
||||
"echarts": "^5.3.1",
|
||||
"echarts-wordcloud": "^2.0.0",
|
||||
"element-plus": "2.1.4",
|
||||
"element-plus": "2.1.5",
|
||||
"intro.js": "^5.0.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"mitt": "^3.0.0",
|
||||
|
@ -54,42 +54,42 @@
|
|||
"devDependencies": {
|
||||
"@commitlint/cli": "^16.2.3",
|
||||
"@commitlint/config-conventional": "^16.2.1",
|
||||
"@iconify/json": "^2.1.16",
|
||||
"@iconify/json": "^2.1.20",
|
||||
"@intlify/vite-plugin-vue-i18n": "^3.3.1",
|
||||
"@purge-icons/generated": "^0.8.1",
|
||||
"@types/intro.js": "^3.0.2",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/node": "^17.0.21",
|
||||
"@types/node": "^17.0.23",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@types/qrcode": "^1.4.2",
|
||||
"@types/qs": "^6.9.7",
|
||||
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
||||
"@typescript-eslint/parser": "^5.15.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.16.0",
|
||||
"@typescript-eslint/parser": "^5.16.0",
|
||||
"@vitejs/plugin-vue": "^2.2.4",
|
||||
"@vitejs/plugin-vue-jsx": "^1.3.8",
|
||||
"autoprefixer": "^10.4.4",
|
||||
"commitizen": "^4.2.4",
|
||||
"eslint": "^8.11.0",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-define-config": "^1.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-vue": "^8.5.0",
|
||||
"husky": "^7.0.4",
|
||||
"less": "^4.1.2",
|
||||
"lint-staged": "^12.3.6",
|
||||
"lint-staged": "^12.3.7",
|
||||
"postcss": "^8.4.12",
|
||||
"postcss-html": "^1.3.0",
|
||||
"postcss-less": "^6.0.0",
|
||||
"prettier": "^2.6.0",
|
||||
"prettier": "^2.6.1",
|
||||
"pretty-quick": "^3.1.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"stylelint": "^14.6.0",
|
||||
"stylelint": "^14.6.1",
|
||||
"stylelint-config-html": "^1.0.0",
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
"stylelint-config-standard": "^25.0.0",
|
||||
"stylelint-order": "^5.0.0",
|
||||
"typescript": "4.6.2",
|
||||
"unplugin-vue-define-options": "^0.4.0",
|
||||
"typescript": "4.6.3",
|
||||
"unplugin-vue-define-options": "^0.5.0",
|
||||
"vite": "2.8.6",
|
||||
"vite-plugin-eslint": "^1.3.0",
|
||||
"vite-plugin-html": "^3.2.0",
|
||||
|
@ -98,7 +98,7 @@
|
|||
"vite-plugin-style-import": "^1.4.1",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vite-plugin-windicss": "^1.8.3",
|
||||
"vue-tsc": "^0.33.2",
|
||||
"vue-tsc": "^0.33.9",
|
||||
"windicss": "^3.5.1",
|
||||
"windicss-analysis": "^0.3.5"
|
||||
},
|
||||
|
|
1001
pnpm-lock.yaml
1001
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,7 @@ const { variables } = useDesign()
|
|||
const appStore = useAppStore()
|
||||
|
||||
const props = defineProps({
|
||||
size: propTypes.oneOf<ElememtPlusSzie[]>(['default', 'small', 'large']).def('default')
|
||||
size: propTypes.oneOf<ElememtPlusSzie[]>(['', 'small', 'large']).def('')
|
||||
})
|
||||
|
||||
provide('configGlobal', props)
|
||||
|
|
|
@ -31,7 +31,7 @@ const setCurrentSize = (size: ElememtPlusSzie) => {
|
|||
<template #dropdown>
|
||||
<ElDropdownMenu>
|
||||
<ElDropdownItem v-for="item in sizeMap" :key="item" :command="item">
|
||||
{{ t(`size.${[item]}`) }}
|
||||
{{ t(`size.${[!item ? 'default' : item]}`) }}
|
||||
</ElDropdownItem>
|
||||
</ElDropdownMenu>
|
||||
</template>
|
||||
|
|
|
@ -46,7 +46,7 @@ export interface AppState {
|
|||
|
||||
export const appModules: AppState = {
|
||||
userInfo: 'userInfo', // 登录信息存储字段-建议每个项目换一个字段,避免与其他项目冲突
|
||||
sizeMap: ['default', 'large', 'small'],
|
||||
sizeMap: ['', 'large', 'small'],
|
||||
mobile: false, // 是否是移动端
|
||||
title: import.meta.env.VITE_APP_TITLE, // 标题
|
||||
pageLoading: false, // 路由跳转loading
|
||||
|
|
|
@ -6,7 +6,7 @@ declare type Nullable<T> = T | null
|
|||
|
||||
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
|
||||
|
||||
declare type ElememtPlusSzie = 'default' | 'small' | 'large'
|
||||
declare type ElememtPlusSzie = '' | 'small' | 'large'
|
||||
|
||||
declare type ElementPlusInfoType = 'success' | 'info' | 'warning' | 'danger'
|
||||
|
||||
|
|
Loading…
Reference in New Issue