Fixed title format.

pull/3445/head
ruibaby 2019-04-09 17:01:29 +08:00
parent 9d037e2cc3
commit 4a1ff54737
2 changed files with 4 additions and 4 deletions

View File

@ -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()
}) })

View File

@ -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="取消"