diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 4f2d164..a0dfa0c 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -27,7 +27,6 @@ const install = (Vue, vm) => { // 设置自定义头部content-type header: { 'content-type': 'application/json;charset=UTF-8', - }, // ...... }); diff --git a/page_fenbaotwo/bangzhu.vue b/page_fenbaotwo/bangzhu.vue index 60c3569..b1b25c3 100644 --- a/page_fenbaotwo/bangzhu.vue +++ b/page_fenbaotwo/bangzhu.vue @@ -113,7 +113,7 @@ //获取分类列表 getfenlist(){ - this.$u.get("/app/articleClassify/list").then(res => { + this.$u.get("app/classify/list").then(res => { if(res.code == 200){ this.fllist = res.data this.classifyId = res.data[0].classifyId