提交 46aa4f5a authored 作者: haodaking's avatar haodaking

chore: 菜单增加Icon; 更新依赖模块;

上级 cec3f3ba
......@@ -7,6 +7,7 @@
"$ref": true,
"$shallowRef": true,
"$toRef": true,
"EffectScope": true,
"asyncComputed": true,
"autoResetRef": true,
"computed": true,
......@@ -30,7 +31,6 @@
"defineComponent": true,
"eagerComputed": true,
"effectScope": true,
"EffectScope": true,
"extendRef": true,
"getCurrentInstance": true,
"getCurrentScope": true,
......@@ -123,8 +123,8 @@
"useDark": true,
"useDateFormat": true,
"useDebounce": true,
"useDebouncedRefHistory": true,
"useDebounceFn": true,
"useDebouncedRefHistory": true,
"useDeviceMotion": true,
"useDeviceOrientation": true,
"useDevicePixelRatio": true,
......@@ -204,8 +204,8 @@
"useTemplateRefsList": true,
"useTextSelection": true,
"useThrottle": true,
"useThrottledRefHistory": true,
"useThrottleFn": true,
"useThrottledRefHistory": true,
"useTimeAgo": true,
"useTimeout": true,
"useTimeoutFn": true,
......@@ -216,10 +216,10 @@
"useTransition": true,
"useUrlSearchParams": true,
"useUserMedia": true,
"useVibrate": true,
"useVirtualList": true,
"useVModel": true,
"useVModels": true,
"useVibrate": true,
"useVirtualList": true,
"useWakeLock": true,
"useWebNotification": true,
"useWebSocket": true,
......
{
"recommendations": ["johnsoncodehk.volar", "johnsoncodehk.vscode-typescript-vue-plugin"]
"recommendations": ["vue.volar", "vue.vscode-typescript-vue-plugin"]
}
// Generated by 'unplugin-auto-import'
// We suggest you to commit this file into source control
export {}
declare global {
const $: typeof import('vue/macros')['$']
const $$: typeof import('vue/macros')['$$']
const $: typeof import('vue/macros')['$']
const $computed: typeof import('vue/macros')['$computed']
const $customRef: typeof import('vue/macros')['$customRef']
const $ref: typeof import('vue/macros')['$ref']
const $shallowRef: typeof import('vue/macros')['$shallowRef']
const $toRef: typeof import('vue/macros')['$toRef']
const EffectScope: typeof import('vue')['EffectScope']
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
const computed: typeof import('vue')['computed']
......@@ -31,7 +32,6 @@ declare global {
const defineComponent: typeof import('vue')['defineComponent']
const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
const effectScope: typeof import('vue')['effectScope']
const EffectScope: typeof import('vue')['EffectScope']
const extendRef: typeof import('@vueuse/core')['extendRef']
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
const getCurrentScope: typeof import('vue')['getCurrentScope']
......@@ -124,8 +124,8 @@ declare global {
const useDark: typeof import('@vueuse/core')['useDark']
const useDateFormat: typeof import('@vueuse/core')['useDateFormat']
const useDebounce: typeof import('@vueuse/core')['useDebounce']
const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory']
const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn']
const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory']
const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion']
const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation']
const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio']
......@@ -205,8 +205,8 @@ declare global {
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
const useThrottle: typeof import('@vueuse/core')['useThrottle']
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo']
const useTimeout: typeof import('@vueuse/core')['useTimeout']
const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn']
......@@ -217,10 +217,10 @@ declare global {
const useTransition: typeof import('@vueuse/core')['useTransition']
const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams']
const useUserMedia: typeof import('@vueuse/core')['useUserMedia']
const useVibrate: typeof import('@vueuse/core')['useVibrate']
const useVirtualList: typeof import('@vueuse/core')['useVirtualList']
const useVModel: typeof import('@vueuse/core')['useVModel']
const useVModels: typeof import('@vueuse/core')['useVModels']
const useVibrate: typeof import('@vueuse/core')['useVibrate']
const useVirtualList: typeof import('@vueuse/core')['useVirtualList']
const useWakeLock: typeof import('@vueuse/core')['useWakeLock']
const useWebNotification: typeof import('@vueuse/core')['useWebNotification']
const useWebSocket: typeof import('@vueuse/core')['useWebSocket']
......@@ -240,4 +240,3 @@ declare global {
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
const whenever: typeof import('@vueuse/core')['whenever']
}
export {}
差异被折叠。
......@@ -17,28 +17,28 @@
"axios": "^0.27.2",
"blueimp-md5": "^2.19.0",
"element-plus": "^2.2.2",
"pinia": "^2.0.13",
"pinia": "^2.0.14",
"qs": "^6.10.3",
"vue": "^3.2.33",
"vue-router": "^4.0.14"
"vue": "^3.2.36",
"vue-router": "^4.0.15"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.1.0",
"@rushstack/eslint-patch": "^1.1.3",
"@types/blueimp-md5": "^2.18.0",
"@types/node": "^16.11.27",
"@types/node": "^17.0.35",
"@types/qs": "^6.9.7",
"@vitejs/plugin-vue": "^2.3.1",
"@vitejs/plugin-vue": "^2.3.3",
"@vue/eslint-config-typescript": "^10.0.0",
"@vue/tsconfig": "^0.1.3",
"ali-oss": "^6.17.1",
"chalk": "^5.0.1",
"eslint": "^8.5.0",
"eslint-plugin-vue": "^8.2.0",
"eslint": "^8.16.0",
"eslint-plugin-vue": "^8.7.1",
"sass": "^1.52.1",
"typescript": "~4.6.3",
"unplugin-auto-import": "^0.7.2",
"vite": "^2.9.5",
"typescript": "~4.7.2",
"unplugin-auto-import": "^0.8.5",
"vite": "^2.9.9",
"vite-plugin-checker": "^0.4.6",
"vue-tsc": "^0.34.7"
"vue-tsc": "^0.34.16"
}
}
import type { IMenuItem } from '@/types'
import { VideoCamera, Suitcase, Collection, Files, Monitor, Edit, User, Filter, Coordinate, Notebook, Picture } from '@element-plus/icons-vue'
export const menus: IMenuItem[] = [
{
name: '资源管理',
path: '/resource',
children: [
{
icon: VideoCamera,
name: '视频',
path: '/resource/video'
},
{ icon: Suitcase, name: '课件', path: '/resource/courseware' },
{
name: '课件',
path: '/resource/courseware'
},
{
icon: Collection,
name: '教案',
path: '/resource/lessonplan'
},
{
icon: Files,
name: '其他资料',
path: '/resource/other'
}
......@@ -35,10 +36,12 @@ export const menus: IMenuItem[] = [
path: '/course',
children: [
{
icon: Monitor,
name: '我的课程',
path: '/course/my'
},
{
icon: Edit,
name: '新建课程',
path: '/course/create'
}
......@@ -49,14 +52,17 @@ export const menus: IMenuItem[] = [
path: '/admin',
children: [
{
icon: User,
name: '讲师管理',
path: '/admin/teacher'
},
{
icon: Filter,
name: '类别管理',
path: '/admin/category'
},
{
icon: Coordinate,
name: '资源审核管理',
path: '/admin/audit'
}
......@@ -67,10 +73,12 @@ export const menus: IMenuItem[] = [
path: '/system',
children: [
{
icon: Notebook,
name: '数据字典',
path: '/system/dictionary'
},
{
icon: Picture,
name: '封面管理',
path: '/system/cover'
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论