提交 fd8949e5 编写于 作者: chengxiang.li's avatar chengxiang.li

update data-in request url

上级 2342c0d8
...@@ -412,7 +412,7 @@ export default { ...@@ -412,7 +412,7 @@ export default {
// 封装一下请求通用的方法 // 封装一下请求通用的方法
getData(type, url, req, callback) { getData(type, url, req, callback) {
openLoading(this); openLoading(this);
this.$axios[type](baseUrl+url, req) this.$axios[type](localStorage.getItem("lectureUrl")+url, req)
.then((res) => { .then((res) => {
closeLoading(this); closeLoading(this);
let data = res.data; let data = res.data;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册