Commit 2267f092 authored by chenfenglei's avatar chenfenglei

教师页面跳转

parent 16b997c0
......@@ -132,7 +132,6 @@
let data= localStorage.getItem("phoneNum")
if(data){
data=JSON.parse(data)
console.log(data.id)
this.$router.push('/teacher/'+ data.id);
}else{
this.getUser()
......
......@@ -813,7 +813,7 @@ export const getTeacherClassApi = function(json,id) {
}
//老系统用户列表
const getOldListUrl = `/api//admin/student/course/old/sys/`;
const getOldListUrl = `/api/admin/student/course/old/sys/`;
export const getOldListApi = function(json) {
return Vue.prototype.$fetch(getOldListUrl,json)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment