perf: 规范接口路径

This commit is contained in:
xiongxiaoyang
2022-05-20 06:29:15 +08:00
parent 9ae00b0902
commit 39090b8810
13 changed files with 31 additions and 34 deletions

View File

@@ -32,7 +32,7 @@ export default {
if(!getToken()){
router.push({name: 'login'});
}else{
router.push({name: 'feadBack'});
router.push({name: 'feadback'});
}
};
return {

View File

@@ -3,7 +3,7 @@
<div class="box_center cf">
<ul class="nav" id="navModule">
<li ><router-link :to="{ name: 'home' }">首页</router-link></li>
<li> <router-link :to="{ name: 'bookClass' }">
<li> <router-link :to="{ name: 'bookclass' }">
全部作品
</router-link></li>
<li><router-link :to="{ name: 'bookRank' }">排行榜</router-link></li>

View File

@@ -59,7 +59,7 @@ export default {
const router = useRouter();
state.keyword = route.query.key;
const searchByK = () => {
router.push({ path: "/bookClass", query: { key: state.keyword } });
router.push({ path: "/bookclass", query: { key: state.keyword } });
context.emit("eventSerch", state.keyword);
};
const logout = () => {