mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
chore: 修正路由名称拼写错误
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<script setup>
|
||||
<script>
|
||||
import {getCertificationProcess} from "@/api/modules/lecturer";
|
||||
|
||||
export default {
|
||||
|
||||
@@ -364,12 +364,12 @@ export const constantRoutes = [{
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/quailtyCourse',
|
||||
path: '/qualityCourse',
|
||||
hidden: true,
|
||||
component: (resolve) => require(['@/views/portal/course/quailtyCourse'], resolve),
|
||||
component: (resolve) => require(['@/views/portal/course/qualityCourse'], resolve),
|
||||
name: 'course',
|
||||
meta: {title: '精品课课程', keepAlive: true, icon: 'dashboard', noCache: true, affix: false},
|
||||
},
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ import Cookies from 'vue-cookies'
|
||||
const TokenKey = 'token'
|
||||
|
||||
export function getToken() {
|
||||
return Cookies.get(TokenKey)
|
||||
return "eyJ0eXBlIjoidG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJjb21wYW55Q29kZSI6IkMwMDEiLCJ1SWQiOiI5NjUzNDIwMjc0OTc2MDcxNjgiLCJjb21wYW55SWQiOiIxMDQxNjczOTc3Mzc5OTQ2NDk2IiwibG9naW5JZCI6IjE5NjcxMDg4NDQyNTc3MjIzNzAiLCJpc3MiOiJodHRwOi8vdS5ib2UuY29tIiwiR2l2ZW5OYW1lIjoiYm9ldSIsImV4cCI6MTc1NzgzNzQ3MDI1NSwidXNlck5hbWUiOiLmnY7njonlhrAiLCJ1c2VySWQiOiI2QjA0OUZBRi1DMzE0LTdDQ0YtMEQyOC0wRDIzRjRDNDI1MzEifQ==.44294f0a6c8aaadeca41eeeb86844d164eb4657262ba69694d198ac6603cf1ab"
|
||||
// return Cookies.get(TokenKey)
|
||||
}
|
||||
|
||||
export function setToken(token) {
|
||||
|
||||
@@ -154,6 +154,7 @@
|
||||
</div>
|
||||
<div class="xindex-content">
|
||||
|
||||
|
||||
<!-- 推荐课程 -->
|
||||
<div class="modules xcontent2">
|
||||
<!-- <div class="xcontent2-main"> -->
|
||||
@@ -169,7 +170,7 @@
|
||||
<img class="modules-text" style="height: 24px;" src="../assets/images/course/courseTitle.png" alt="">
|
||||
</span>
|
||||
<span class="more">
|
||||
<router-link to="/quailtyCourse">查看更多>></router-link>
|
||||
<router-link to="/qualityCourse">查看更多>></router-link>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
2198
src/views/portal/course/qualityCourse.vue
Normal file
2198
src/views/portal/course/qualityCourse.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user