Merge branch 'main' into pages

This commit is contained in:
xiaoxian521 2024-05-28 12:39:16 +08:00
commit 134a06d282
7 changed files with 794 additions and 796 deletions

View File

@ -38,6 +38,10 @@
[点我查看详情](https://pure-admin.github.io/pure-admin-doc/pages/service/) [点我查看详情](https://pure-admin.github.io/pure-admin-doc/pages/service/)
## `max` 版本
[点我查看 max 版本](https://github.com/pure-admin/vue-pure-admin-max)
## `Tauri` 版本 ## `Tauri` 版本
[点我查看 Tauri 版本](https://github.com/pure-admin/tauri-pure-admin) [点我查看 Tauri 版本](https://github.com/pure-admin/tauri-pure-admin)

View File

@ -119,7 +119,7 @@ menus:
pureMenu1-2-1: 菜单1-2-1 pureMenu1-2-1: 菜单1-2-1
pureMenu1-2-2: 菜单1-2-2 pureMenu1-2-2: 菜单1-2-2
pureMenu1-3: 菜单1-3 pureMenu1-3: 菜单1-3
pureMenu2: 菜单2 pureMenu2: 菜单
purePermission: 权限管理 purePermission: 权限管理
purePermissionPage: 页面权限 purePermissionPage: 页面权限
purePermissionButton: 按钮权限 purePermissionButton: 按钮权限

View File

@ -56,14 +56,14 @@
"@pureadmin/table": "^3.1.2", "@pureadmin/table": "^3.1.2",
"@pureadmin/utils": "^2.4.7", "@pureadmin/utils": "^2.4.7",
"@vue-flow/background": "^1.3.0", "@vue-flow/background": "^1.3.0",
"@vue-flow/core": "^1.33.7", "@vue-flow/core": "^1.33.8",
"@vueuse/core": "^10.9.0", "@vueuse/core": "^10.10.0",
"@vueuse/motion": "^2.1.0", "@vueuse/motion": "^2.1.0",
"@wangeditor/editor": "^5.1.23", "@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12", "@wangeditor/editor-for-vue": "^5.1.12",
"@zxcvbn-ts/core": "^3.0.4", "@zxcvbn-ts/core": "^3.0.4",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"axios": "^1.6.8", "axios": "^1.7.2",
"china-area-data": "^5.0.1", "china-area-data": "^5.0.1",
"cropperjs": "^1.6.2", "cropperjs": "^1.6.2",
"dayjs": "^1.11.11", "dayjs": "^1.11.11",
@ -80,13 +80,13 @@
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"path": "^0.12.7", "path": "^0.12.7",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"pinyin-pro": "^3.20.4", "pinyin-pro": "^3.21.0",
"plus-pro-components": "^0.1.3", "plus-pro-components": "^0.1.6",
"qrcode": "^1.5.3", "qrcode": "^1.5.3",
"qs": "^6.12.1", "qs": "^6.12.1",
"responsive-storage": "^2.2.0", "responsive-storage": "^2.2.0",
"sortablejs": "^1.15.2", "sortablejs": "^1.15.2",
"swiper": "^11.1.2", "swiper": "^11.1.3",
"typeit": "^8.8.3", "typeit": "^8.8.3",
"v-contextmenu": "^3.2.0", "v-contextmenu": "^3.2.0",
"v3-infinite-loading": "^1.3.1", "v3-infinite-loading": "^1.3.1",
@ -103,16 +103,16 @@
"vue3-danmaku": "^1.6.0", "vue3-danmaku": "^1.6.0",
"vue3-puzzle-vcode": "^1.1.7", "vue3-puzzle-vcode": "^1.1.7",
"vuedraggable": "^4.1.0", "vuedraggable": "^4.1.0",
"vxe-table": "^4.6.12", "vxe-table": "^4.6.17",
"wavesurfer.js": "^7.7.14", "wavesurfer.js": "^7.7.15",
"xgplayer": "^3.0.17", "xgplayer": "^3.0.18",
"xlsx": "^0.18.5" "xlsx": "^0.18.5"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^19.3.0", "@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2", "@commitlint/config-conventional": "^19.2.2",
"@commitlint/types": "^19.0.3", "@commitlint/types": "^19.0.3",
"@eslint/js": "^9.2.0", "@eslint/js": "^9.3.0",
"@faker-js/faker": "^8.4.1", "@faker-js/faker": "^8.4.1",
"@iconify-icons/ep": "^1.2.12", "@iconify-icons/ep": "^1.2.12",
"@iconify-icons/ri": "^1.2.10", "@iconify-icons/ri": "^1.2.10",
@ -123,27 +123,27 @@
"@types/gradient-string": "^1.1.6", "@types/gradient-string": "^1.1.6",
"@types/intro.js": "^5.1.5", "@types/intro.js": "^5.1.5",
"@types/js-cookie": "^3.0.6", "@types/js-cookie": "^3.0.6",
"@types/node": "^20.12.11", "@types/node": "^20.12.12",
"@types/nprogress": "^0.2.3", "@types/nprogress": "^0.2.3",
"@types/qrcode": "^1.5.5", "@types/qrcode": "^1.5.5",
"@types/qs": "^6.9.15", "@types/qs": "^6.9.15",
"@types/sortablejs": "^1.15.8", "@types/sortablejs": "^1.15.8",
"@typescript-eslint/eslint-plugin": "^7.9.0", "@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.9.0", "@typescript-eslint/parser": "^7.11.0",
"@vitejs/plugin-vue": "^5.0.4", "@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0", "@vitejs/plugin-vue-jsx": "^3.1.0",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.19",
"boxen": "^7.1.1", "boxen": "^7.1.1",
"cssnano": "^7.0.1", "cssnano": "^7.0.1",
"dagre": "^0.8.5", "dagre": "^0.8.5",
"eslint": "^9.2.0", "eslint": "^9.3.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.1.0", "eslint-define-config": "^2.1.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.26.0", "eslint-plugin-vue": "^9.26.0",
"gradient-string": "^2.0.2", "gradient-string": "^2.0.2",
"husky": "^9.0.11", "husky": "^9.0.11",
"lint-staged": "^15.2.2", "lint-staged": "^15.2.5",
"postcss": "^8.4.38", "postcss": "^8.4.38",
"postcss-html": "^1.7.0", "postcss-html": "^1.7.0",
"postcss-import": "^16.1.0", "postcss-import": "^16.1.0",
@ -151,8 +151,8 @@
"prettier": "^3.2.5", "prettier": "^3.2.5",
"rimraf": "^5.0.7", "rimraf": "^5.0.7",
"rollup-plugin-visualizer": "^5.12.0", "rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.1", "sass": "^1.77.2",
"stylelint": "^16.5.0", "stylelint": "^16.6.0",
"stylelint-config-recess-order": "^5.0.1", "stylelint-config-recess-order": "^5.0.1",
"stylelint-config-recommended-vue": "^1.5.0", "stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-scss": "^13.1.0", "stylelint-config-standard-scss": "^13.1.0",

1536
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -145,7 +145,7 @@ function resolvePath(routePath) {
item?.pathList?.length === 2) item?.pathList?.length === 2)
" "
truncated truncated
class="!w-full !px-4 !text-inherit" class="!w-full !pl-4 !text-inherit"
> >
{{ transformI18n(onlyOneChild.meta.title) }} {{ transformI18n(onlyOneChild.meta.title) }}
</el-text> </el-text>
@ -199,7 +199,7 @@ function resolvePath(routePath) {
:class="{ :class="{
'!w-full': true, '!w-full': true,
'!text-inherit': true, '!text-inherit': true,
'!px-4': '!pl-4':
layout !== 'horizontal' && layout !== 'horizontal' &&
isCollapse && isCollapse &&
!toRaw(item.meta.icon) && !toRaw(item.meta.icon) &&

View File

@ -48,7 +48,7 @@ import {
} from "vxe-table"; } from "vxe-table";
// 全局默认参数 // 全局默认参数
VXETable.config({ VXETable.setConfig({
// i18n: (key, args) => { // i18n: (key, args) => {
// return unref(i18n.global.locale) === "zh" // return unref(i18n.global.locale) === "zh"
// ? XEUtils.toFormatString(XEUtils.get(zh, key), args) // ? XEUtils.toFormatString(XEUtils.get(zh, key), args)

View File

@ -36,12 +36,12 @@ export default class PureHttp {
): Promise<T>; ): Promise<T>;
post<T, P>( post<T, P>(
url: string, url: string,
params?: T, params?: P,
config?: PureHttpRequestConfig config?: PureHttpRequestConfig
): Promise<P>; ): Promise<T>;
get<T, P>( get<T, P>(
url: string, url: string,
params?: T, params?: P,
config?: PureHttpRequestConfig config?: PureHttpRequestConfig
): Promise<P>; ): Promise<T>;
} }