Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
2267f092
Commit
2267f092
authored
Dec 29, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
教师页面跳转
parent
16b997c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
index.vue
src/components/teacher/index.vue
+0
-1
api.js
src/service/api.js
+1
-1
No files found.
src/components/teacher/index.vue
View file @
2267f092
...
...
@@ -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
()
...
...
src/service/api.js
View file @
2267f092
...
...
@@ -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
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment