update 升级全部依赖版本
update element-plus 2.9.8 update pinia 3.0.2 update vue-router 4.5.0 update vue-types 6.0.0 update vxe-table 4.13.7 update sass 1.87.0 update typescript 5.8.3 update vite 6.3.2 ........等等很多版本
This commit is contained in:
parent
e5de3f4e9d
commit
de22609196
@ -315,6 +315,9 @@
|
|||||||
"watchThrottled": true,
|
"watchThrottled": true,
|
||||||
"watchTriggerable": true,
|
"watchTriggerable": true,
|
||||||
"watchWithFilter": true,
|
"watchWithFilter": true,
|
||||||
"whenever": true
|
"whenever": true,
|
||||||
|
"Slot": true,
|
||||||
|
"Slots": true,
|
||||||
|
"createRef": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
47
package.json
47
package.json
@ -23,31 +23,31 @@
|
|||||||
"@element-plus/icons-vue": "2.3.1",
|
"@element-plus/icons-vue": "2.3.1",
|
||||||
"@highlightjs/vue-plugin": "2.1.0",
|
"@highlightjs/vue-plugin": "2.1.0",
|
||||||
"@vueup/vue-quill": "1.2.0",
|
"@vueup/vue-quill": "1.2.0",
|
||||||
"@vueuse/core": "12.7.0",
|
"@vueuse/core": "13.1.0",
|
||||||
"animate.css": "4.1.1",
|
"animate.css": "4.1.1",
|
||||||
"await-to-js": "3.0.0",
|
"await-to-js": "3.0.0",
|
||||||
"axios": "1.7.8",
|
"axios": "1.8.4",
|
||||||
"crypto-js": "4.2.0",
|
"crypto-js": "4.2.0",
|
||||||
"echarts": "5.5.0",
|
"echarts": "5.6.0",
|
||||||
"element-plus": "2.8.8",
|
"element-plus": "2.9.8",
|
||||||
"file-saver": "2.0.5",
|
"file-saver": "2.0.5",
|
||||||
"highlight.js": "11.9.0",
|
"highlight.js": "11.9.0",
|
||||||
"image-conversion": "2.1.1",
|
"image-conversion": "2.1.1",
|
||||||
"js-cookie": "3.0.5",
|
"js-cookie": "3.0.5",
|
||||||
"jsencrypt": "3.3.2",
|
"jsencrypt": "3.3.2",
|
||||||
"nprogress": "0.2.0",
|
"nprogress": "0.2.0",
|
||||||
"pinia": "2.2.6",
|
"pinia": "3.0.2",
|
||||||
"screenfull": "6.0.2",
|
"screenfull": "6.0.2",
|
||||||
"vue": "3.5.13",
|
"vue": "3.5.13",
|
||||||
"vue-cropper": "1.1.1",
|
"vue-cropper": "1.1.1",
|
||||||
"vue-i18n": "10.0.5",
|
"vue-i18n": "11.1.3",
|
||||||
"vue-json-pretty": "2.4.0",
|
"vue-json-pretty": "2.4.0",
|
||||||
"vue-router": "4.4.5",
|
"vue-router": "4.5.0",
|
||||||
"vue-types": "5.1.3",
|
"vue-types": "6.0.0",
|
||||||
"vxe-table": "4.5.22"
|
"vxe-table": "4.13.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify/json": "2.2.276",
|
"@iconify/json": "^2.2.276",
|
||||||
"@types/crypto-js": "4.2.2",
|
"@types/crypto-js": "4.2.2",
|
||||||
"@types/file-saver": "2.0.7",
|
"@types/file-saver": "2.0.7",
|
||||||
"@types/js-cookie": "3.0.6",
|
"@types/js-cookie": "3.0.6",
|
||||||
@ -56,8 +56,8 @@
|
|||||||
"@unocss/preset-attributify": "66.0.0",
|
"@unocss/preset-attributify": "66.0.0",
|
||||||
"@unocss/preset-icons": "66.0.0",
|
"@unocss/preset-icons": "66.0.0",
|
||||||
"@unocss/preset-uno": "66.0.0",
|
"@unocss/preset-uno": "66.0.0",
|
||||||
"@vitejs/plugin-vue": "5.2.1",
|
"@vitejs/plugin-vue": "5.2.3",
|
||||||
"@vue/compiler-sfc": "3.4.23",
|
"@vue/compiler-sfc": "3.5.13",
|
||||||
"@vue/eslint-config-prettier": "10.2.0",
|
"@vue/eslint-config-prettier": "10.2.0",
|
||||||
"@vue/eslint-config-typescript": "14.4.0",
|
"@vue/eslint-config-typescript": "14.4.0",
|
||||||
"autoprefixer": "10.4.20",
|
"autoprefixer": "10.4.20",
|
||||||
@ -66,19 +66,22 @@
|
|||||||
"eslint-plugin-vue": "9.32.0",
|
"eslint-plugin-vue": "9.32.0",
|
||||||
"globals": "16.0.0",
|
"globals": "16.0.0",
|
||||||
"prettier": "3.5.2",
|
"prettier": "3.5.2",
|
||||||
"sass": "1.84.0",
|
"sass": "1.87.0",
|
||||||
"typescript": "~5.7.3",
|
"typescript": "~5.8.3",
|
||||||
"unocss": "66.0.0",
|
"unocss": "66.0.0",
|
||||||
"unplugin-auto-import": "0.17.5",
|
"unplugin-auto-import": "19.1.2",
|
||||||
"unplugin-icons": "0.18.5",
|
"unplugin-icons": "22.1.0",
|
||||||
"unplugin-vue-components": "28.0.0",
|
"unplugin-vue-components": "28.5.0",
|
||||||
"unplugin-vue-setup-extend-plus": "1.0.1",
|
"unplugin-vue-setup-extend-plus": "1.0.1",
|
||||||
"vite": "5.4.18",
|
"vite": "6.3.2",
|
||||||
"vite-plugin-compression": "0.5.1",
|
"vite-plugin-compression": "0.5.1",
|
||||||
"vite-plugin-svg-icons-ng": "^1.2.2",
|
"vite-plugin-svg-icons-ng": "^1.4.0",
|
||||||
"vite-plugin-vue-devtools": "7.7.1",
|
"vite-plugin-vue-devtools": "7.7.5",
|
||||||
"vitest": "3.0.5",
|
"vitest": "3.1.2",
|
||||||
"vue-tsc": "^2.2.2"
|
"vue-tsc": "^2.2.8"
|
||||||
|
},
|
||||||
|
"overrides": {
|
||||||
|
"quill": "2.0.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.18.0",
|
"node": ">=18.18.0",
|
||||||
|
@ -24,10 +24,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts" name="layoutBreadcrumbUserNews">
|
<script setup lang="ts" name="layoutBreadcrumbUserNews">
|
||||||
import { storeToRefs } from 'pinia';
|
|
||||||
import { useNoticeStore } from '@/store/modules/notice';
|
import { useNoticeStore } from '@/store/modules/notice';
|
||||||
|
|
||||||
const noticeStore = storeToRefs(useNoticeStore());
|
const noticeStore = useNoticeStore();
|
||||||
const { readAll } = useNoticeStore();
|
const { readAll } = useNoticeStore();
|
||||||
|
|
||||||
// 定义变量内容
|
// 定义变量内容
|
||||||
@ -42,7 +41,7 @@ const newsList = ref([]) as any;
|
|||||||
*/
|
*/
|
||||||
const getTableData = async () => {
|
const getTableData = async () => {
|
||||||
state.loading = true;
|
state.loading = true;
|
||||||
newsList.value = noticeStore.state.value.notices;
|
newsList.value = noticeStore.state.notices;
|
||||||
state.loading = false;
|
state.loading = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -50,7 +49,7 @@ const getTableData = async () => {
|
|||||||
const onNewsClick = (item: any) => {
|
const onNewsClick = (item: any) => {
|
||||||
newsList.value[item].read = true;
|
newsList.value[item].read = true;
|
||||||
//并且写入pinia
|
//并且写入pinia
|
||||||
noticeStore.state.value.notices = newsList.value;
|
noticeStore.state.notices = newsList.value;
|
||||||
};
|
};
|
||||||
|
|
||||||
// 前往通知中心点击
|
// 前往通知中心点击
|
||||||
|
@ -34,7 +34,7 @@ import i18n from '@/lang/index';
|
|||||||
// vxeTable
|
// vxeTable
|
||||||
import VXETable from 'vxe-table';
|
import VXETable from 'vxe-table';
|
||||||
import 'vxe-table/lib/style.css';
|
import 'vxe-table/lib/style.css';
|
||||||
VXETable.config({
|
VXETable.setConfig({
|
||||||
zIndex: 999999
|
zIndex: 999999
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user