Your ROOT_URL in app.ini is https://bdgit.educoder.net/ but you are visiting http://bdgit.educoder.net/pizvue73f/unilife/commit/1e1ed6ee03cd55ef391a67c276d5eaf76097aced?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
19 additions and
10 deletions
@ -35,8 +35,10 @@
<!-- 右侧部分 -- >
< div class = "right-section" >
< router -link to = "/message" class = "icon-btn" title = "消息" >
< Message size = "24" / >
< router -link to = "/DirectMessage" class = "icon-btn" title = "消息" >
< el -icon class = "icon-btn" : size = "24" >
< Message / >
< / e l - i c o n >
< / r o u t e r - l i n k >
< router -link to = "/personal" class = "user-entry" title = "个人主页" >
< span > 个人主页 < / span >
@ -46,11 +48,6 @@
< User / >
< / e l - i c o n >
< / r o u t e r - l i n k >
< router -link to = "/register" class = "icon-btn" title = "注册" >
< el -icon class = "icon-btn" :size ="24" >
< Message / >
< / e l - i c o n >
< / r o u t e r - l i n k >
< / div >
< / header >
< / template >
@ -72,7 +72,19 @@ const routes: Array<RouteRecordRaw> = [
name : 'PostDetail' ,
component : ( ) = > import ( '@/views/PostDetailPage.vue' ) ,
} ,
{
path : '/postEdit' ,
name : 'PostEdit' ,
component : ( ) = > import ( '@/views/PostEditView.vue' ) ,
meta : {
hideHeader :true
}
} ,
{
path : '/directMessage' ,
name : 'DirectMessage' ,
component : ( ) = > import ( '@/views/DirectMessage.vue' ) ,
}
] ;
@ -3,7 +3,7 @@
< div class = "post-editor" >
<!-- 顶部工具栏 -- >
< div class = "toolbar" >
< router -link to = '/personal '>
< router -link to = '/personal /postManager '>
< el -button :icon ="ArrowLeft" circle > < / e l - b u t t o n >
< / r o u t e r - l i n k >
< el -select v-model ="selectedCategory" placeholder="选择分区" class="category-select" size="large" >
@ -196,7 +196,7 @@
< / e l - d i a l o g >
< router -link
to = "/ create- post"
to = "/ postEdi t"
class = "btn btn-primary btn-circle"
>
< span class = "btn-icon" > + < / span >