diff --git a/src/views/demo/route.js b/src/views/demo/route.js index 514d44b..22320bd 100644 --- a/src/views/demo/route.js +++ b/src/views/demo/route.js @@ -49,5 +49,17 @@ export default { keepAlive: true, }, }, + { + name: 'Upload', + path: 'upload', + component: () => import('./upload/index.vue'), + meta: { + title: '图片上传', + icon: 'mdi:upload', + role: ['admin'], + requireAuth: true, + keepAlive: true, + }, + }, ], } diff --git a/src/views/demo/upload/index.vue b/src/views/demo/upload/index.vue new file mode 100644 index 0000000..f26705e --- /dev/null +++ b/src/views/demo/upload/index.vue @@ -0,0 +1,76 @@ + + +