mirror of https://github.com/halo-dev/halo
Fixed title format.
parent
9d037e2cc3
commit
4a1ff54737
|
@ -15,7 +15,7 @@ Vue.config.productionTip = false
|
||||||
|
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
if (to.meta.title) {
|
if (to.meta.title) {
|
||||||
document.title = to.meta.title
|
document.title = to.meta.title + ' | Halo Dashboard'
|
||||||
}
|
}
|
||||||
next()
|
next()
|
||||||
})
|
})
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
<a href="javascript:;" @click="editCategory(record.id)">编辑</a>
|
<a href="javascript:;" @click="editCategory(record.id)">编辑</a>
|
||||||
<a-divider type="vertical" />
|
<a-divider type="vertical" />
|
||||||
<a-popconfirm
|
<a-popconfirm
|
||||||
:title="'你确定要删除【' + record.name + '】菜单?'"
|
:title="'你确定要删除【' + record.name + '】分类?'"
|
||||||
@confirm="deleteCategory(record.id)"
|
@confirm="deleteCategory(record.id)"
|
||||||
okText="确定"
|
okText="确定"
|
||||||
cancelText="取消"
|
cancelText="取消"
|
||||||
|
|
Loading…
Reference in New Issue