From f821a97864eb3e0ffeb03cd06723665931affd80 Mon Sep 17 00:00:00 2001 From: PQZ Date: Wed, 28 Aug 2024 18:47:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/Addrc.vue | 7 ++----- pages/index/jglist.vue | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pages/index/Addrc.vue b/pages/index/Addrc.vue index e44faba..1ba1811 100644 --- a/pages/index/Addrc.vue +++ b/pages/index/Addrc.vue @@ -97,13 +97,10 @@ uploadFilePromise(e) { console.log(e); upload({ - url: '/common/upload', + url: '/infra/file/upload', filePath: e, }).then((res) => { - this.photo = res.fileName - console.log(this.photo); - - + this.photo = res.data }) }, diff --git a/pages/index/jglist.vue b/pages/index/jglist.vue index b829bd5..86388e8 100644 --- a/pages/index/jglist.vue +++ b/pages/index/jglist.vue @@ -39,7 +39,6 @@ url: '/system/drive/notice/applist?noticeType=3', method: 'get' }) - console.log(res); this.lists = res.data }, jgDetail(id) {