From 4641a877cd6a94e4d35dca7f7f14bc1443e2d2ad Mon Sep 17 00:00:00 2001 From: luobisheng <727299681@qq.com> Date: 星期二, 29 十一月 2022 17:59:55 +0800 Subject: [PATCH] 上传处置类型修改 --- src/views/systemSetting/platform/portalSetting/index.vue | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/views/systemSetting/platform/portalSetting/index.vue b/src/views/systemSetting/platform/portalSetting/index.vue index a799394..dfcaa65 100644 --- a/src/views/systemSetting/platform/portalSetting/index.vue +++ b/src/views/systemSetting/platform/portalSetting/index.vue @@ -1,7 +1,7 @@ <template> <div class="log"> <header> - <div clas="headerTitle"> + <div class="headerTitle"> 绯荤粺璁剧疆 >> 闂ㄦ埛绠$悊 > logo绠$悊 </div> </header> @@ -119,8 +119,7 @@ url: 'sccg/system/portal/logo/add', data: icon }).then(res => { - console.log(res); - if (res.code == 200) { + if (res.code === 200) { this.$axios({ method: 'get', url: 'sccg/system/portal/logo/search', @@ -135,21 +134,18 @@ }) } } else { - console.log(obj); // 鍙戦�佽姹� this.$axios({ method: 'put', url: 'sccg/system/portal/logo/update', data: obj }).then(res => { - console.log(res); this.$message({ message: res.message, type: 'success' }) }) } - localStorage.removeItem('pic'); window.location.href = ''; } -- Gitblit v1.8.0