From 4c75be67f272962a0b24079b259c8072888e00e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Mon, 17 Apr 2023 13:36:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/demo/route.js | 12 ++++++ src/views/demo/upload/index.vue | 76 +++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 src/views/demo/upload/index.vue 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 @@ + + +