diff --git a/src/api/user.js b/src/api/user.js index fb77191..1d783f4 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -32,4 +32,13 @@ export function mkdir(datas) { method: 'post', data: datas }) +} + +// 上传文件 +export function uploadrequest(datas) { + return request({ + url: '/api/uploadbase64', + method: 'post', + data: datas + }) } \ No newline at end of file diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 4bb30fd..8a768b1 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -110,7 +110,7 @@ export default { getmunusdata() { let thiss = this; - console.log(1); + //console.log(1); // console.log(this.$store); mirlist().then(response => { diff --git a/src/views/subfile/index.vue b/src/views/subfile/index.vue index da38b36..4395e4f 100644 --- a/src/views/subfile/index.vue +++ b/src/views/subfile/index.vue @@ -1,6 +1,6 @@