From 1ae42a3c2a87bb1b81b8162f8133a2e0727a2edf Mon Sep 17 00:00:00 2001 From: libowei <3423564950@qq.com> Date: Tue, 5 Dec 2023 21:18:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E5=8F=A3=E8=AF=AD=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.interceptor.js | 2 +- .../teacher_teachers/components/slander.vue | 98 ++++++++++++------- .../teacher_teachers/teacher_writeadd.vue | 20 ++-- 3 files changed, 74 insertions(+), 46 deletions(-) diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 82a2f35..221de4d 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -41,7 +41,7 @@ const install = (Vue, vm) => { // 方式四,如果token放在了Storage本地存储中,拦截是每次请求都执行的 // 所以哪怕您重新登录修改了Storage,下一次的请求将会是最新值 // const token = uni.getStorageSync('token'); - const token = "Bearer aca170b01b4b4c88b3629fde91a3b2b7" + const token = "Bearer e33c7c66dd374ea3a07312503d548978" // console.log("我是token", token) config.header.Authorization = token; // #ifdef H5 diff --git a/pages_teacher/teacher_teachers/components/slander.vue b/pages_teacher/teacher_teachers/components/slander.vue index 1543c3f..b34c522 100644 --- a/pages_teacher/teacher_teachers/components/slander.vue +++ b/pages_teacher/teacher_teachers/components/slander.vue @@ -1,37 +1,42 @@