1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-08-08 20:29:00 +08:00

chore: update deps and lint fix

This commit is contained in:
zclzone 2025-06-19 16:11:31 +08:00
parent c925ca3e00
commit 91739a0cd5
7 changed files with 1269 additions and 1194 deletions

View File

@ -13,42 +13,42 @@
}, },
"dependencies": { "dependencies": {
"@arco-design/color": "^0.4.0", "@arco-design/color": "^0.4.0",
"@vueuse/core": "^13.2.0", "@vueuse/core": "^13.3.0",
"axios": "^1.9.0", "axios": "^1.10.0",
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"echarts": "^5.6.0", "echarts": "^5.6.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"naive-ui": "^2.41.0", "naive-ui": "^2.42.0",
"pinia": "^3.0.2", "pinia": "^3.0.3",
"pinia-plugin-persistedstate": "^4.3.0", "pinia-plugin-persistedstate": "^4.3.0",
"vue": "^3.5.14", "vue": "^3.5.17",
"vue-echarts": "^7.0.3", "vue-echarts": "^7.0.3",
"vue-router": "^4.5.1", "vue-router": "^4.5.1",
"xlsx": "^0.18.5" "xlsx": "^0.18.5"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^4.13.1", "@antfu/eslint-config": "^4.13.1",
"@iconify/json": "^2.2.339", "@iconify/json": "^2.2.350",
"@unocss/eslint-config": "^66.1.2", "@unocss/eslint-config": "^66.2.3",
"@unocss/eslint-plugin": "^66.1.2", "@unocss/eslint-plugin": "^66.2.3",
"@unocss/preset-rem-to-px": "^66.1.2", "@unocss/preset-rem-to-px": "^66.2.3",
"@vitejs/plugin-vue": "^5.2.4", "@vitejs/plugin-vue": "^5.2.4",
"@vitejs/plugin-vue-jsx": "^4.1.2", "@vitejs/plugin-vue-jsx": "^4.2.0",
"eslint": "^9.27.0", "eslint": "^9.29.0",
"eslint-plugin-format": "^1.0.1", "eslint-plugin-format": "^1.0.1",
"esno": "^4.8.0", "esno": "^4.8.0",
"fs-extra": "^11.3.0", "fs-extra": "^11.3.0",
"glob": "^11.0.2", "glob": "^11.0.3",
"lint-staged": "^16.0.0", "lint-staged": "^16.1.2",
"rollup-plugin-visualizer": "^5.14.0", "rollup-plugin-visualizer": "^6.0.3",
"simple-git-hooks": "^2.13.0", "simple-git-hooks": "^2.13.0",
"taze": "^19.1.0", "taze": "^19.1.0",
"unocss": "^66.1.2", "unocss": "^66.2.3",
"unplugin-auto-import": "^19.2.0", "unplugin-auto-import": "^19.3.0",
"unplugin-vue-components": "^28.5.0", "unplugin-vue-components": "^28.7.0",
"vite": "^6.3.5", "vite": "^6.3.5",
"vite-plugin-router-warn": "^1.0.0", "vite-plugin-router-warn": "^1.0.0",
"vite-plugin-vue-devtools": "^7.7.6", "vite-plugin-vue-devtools": "^7.7.7",
"vue3-intro-step": "^1.0.5" "vue3-intro-step": "^1.0.5"
}, },
"simple-git-hooks": { "simple-git-hooks": {

2415
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
<template> <template>
<div <div
id="menu-collapse" id="menu-collapse"
class="f-c-c cursor-pointer rounded-4 p-6 text-22 transition-all-300 auto-bg-hover" class="f-c-c cursor-pointer rounded-4 auto-bg-hover p-6 text-22 transition-all-300"
@click="appStore.switchCollapsed" @click="appStore.switchCollapsed"
> >
<i :class="appStore.collapsed ? 'i-line-md-menu-unfold-left' : 'i-line-md-menu-fold-left'" /> <i :class="appStore.collapsed ? 'i-line-md-menu-unfold-left' : 'i-line-md-menu-fold-left'" />

View File

@ -26,7 +26,7 @@
<li <li
v-for="item in icons" v-for="item in icons"
:key="item" :key="item"
class="w-160 f-c-c flex-col cursor-pointer rounded-12 px-12 py-24 card-border auto-bg" class="w-160 f-c-c flex-col cursor-pointer card-border rounded-12 auto-bg px-12 py-24"
@click="copy(`&lt;i class=&quot;${item}&quot; /&gt;`)" @click="copy(`&lt;i class=&quot;${item}&quot; /&gt;`)"
> >
<i :class="`${item}?mask`" class="text-28 text-gray-600 hover:bg-primary" /> <i :class="`${item}?mask`" class="text-28 text-gray-600 hover:bg-primary" />

View File

@ -22,7 +22,7 @@
</p> </p>
<div mt-20 w-350 f-c-c flex-col> <div mt-20 w-350 f-c-c flex-col>
<div flex flex-wrap justify-around rounded-10 p-10 card-border> <div flex flex-wrap justify-around card-border rounded-10 p-10>
<div m-20 h-50 w-50 f-c-c rounded-5 p-10 border="1 solid"> <div m-20 h-50 w-50 f-c-c rounded-5 p-10 border="1 solid">
<span h-6 w-6 rounded-3 bg-black dark:bg-white /> <span h-6 w-6 rounded-3 bg-black dark:bg-white />
</div> </div>

View File

@ -30,7 +30,7 @@
<n-card class="ml-12 w-70%" title="✨ 欢迎使用 Vue Naive Admin 2.0"> <n-card class="ml-12 w-70%" title="✨ 欢迎使用 Vue Naive Admin 2.0">
<template #header-extra> <template #header-extra>
<a <a
class="text-14 text-primary text-highlight hover:underline hover:opacity-80" class="text-highlight text-14 text-primary hover:underline hover:opacity-80"
href="https://isme.top" href="https://isme.top"
target="_blank" target="_blank"
> >
@ -68,7 +68,7 @@
<div class="mt-12 flex"> <div class="mt-12 flex">
<n-card class="w-50%" title="💯 特性" segmented> <n-card class="w-50%" title="💯 特性" segmented>
<template #header-extra> <template #header-extra>
<span class="opacity-90 text-highlight">👏 历经十几次重构和细节打磨</span> <span class="text-highlight opacity-90">👏 历经十几次重构和细节打磨</span>
</template> </template>
<ul class="opacity-90"> <ul class="opacity-90">

View File

@ -9,7 +9,7 @@
<template> <template>
<div class="wh-full flex-col bg-[url(@/assets/images/login_bg.webp)] bg-cover"> <div class="wh-full flex-col bg-[url(@/assets/images/login_bg.webp)] bg-cover">
<div <div
class="m-auto max-w-700 min-w-345 f-c-c rounded-8 bg-opacity-20 bg-cover p-12 card-shadow auto-bg" class="m-auto max-w-700 min-w-345 f-c-c rounded-8 auto-bg bg-opacity-20 bg-cover p-12 card-shadow"
> >
<div class="hidden w-380 px-20 py-35 md:block"> <div class="hidden w-380 px-20 py-35 md:block">
<img src="@/assets/images/login_banner.webp" class="w-full" alt="login_banner"> <img src="@/assets/images/login_banner.webp" class="w-full" alt="login_banner">