diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 3b938a3..82a2f35 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 8005fb2dde6e44a3aff61d67e8ef5bcf" + const token = "Bearer aca170b01b4b4c88b3629fde91a3b2b7" // 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 e69de29..1543c3f 100644 --- a/pages_teacher/teacher_teachers/components/slander.vue +++ b/pages_teacher/teacher_teachers/components/slander.vue @@ -0,0 +1,210 @@ + + + + + diff --git a/pages_teacher/teacher_teachers/teacher_writeadd.vue b/pages_teacher/teacher_teachers/teacher_writeadd.vue index 08c2d40..7c9ef60 100644 --- a/pages_teacher/teacher_teachers/teacher_writeadd.vue +++ b/pages_teacher/teacher_teachers/teacher_writeadd.vue @@ -207,8 +207,7 @@ slander }, onLoad() { - this.getList() - this.getCompose() + // this.getCompose() }, methods: { upType(index, num) { @@ -218,15 +217,15 @@ this.current = index; }, //写作接口 - getCompose() { - this.$u.post('https://api.admin-v2.langsi.online/admin-api/speaking/topic/home/list').then(res => { - this.Compose = res.data - console.log(this.Compose) - for (let i = 0; i < res.data.length; i++) { - this.listType.push(1) - } - }) - }, + // getCompose() { + // this.$u.post('https://api.admin-v2.langsi.online/admin-api/speaking/topic/home/list').then(res => { + // this.Compose = res.data + // console.log(this.Compose) + // for (let i = 0; i < res.data.length; i++) { + // this.listType.push(1) + // } + // }) + // }, // 选中某个单选框时,由radio时触发 radioCheck(index) { if (this.radioValue == this.list2[index].id) {