在线blog初步完成

This commit is contained in:
simple321vip
2022-04-27 09:18:20 +08:00
parent 6e5d90d613
commit fff3ee0a3d
6 changed files with 177 additions and 87 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ router.beforeEach((to, from, next) => {
break;
case '/':
const user = <User>(JSON.parse(getUser() as string))
if (url.search("edit_blog") != -1) {
if (url.search("write") != -1) {
next('/BlogEditer')
} else {
router.push({