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