mirror of https://github.com/halo-dev/halo-admin
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()
|
||||||
})
|
})
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="描述:" help="*分类描述,部分主题可显示">
|
<a-form-item label="描述:" help="*分类描述,部分主题可显示">
|
||||||
<a-input type="textarea" v-model="categoryToCreate.description" :autosize="{ minRows: 3 }" />
|
<a-input type="textarea" v-model="categoryToCreate.description" :autosize="{ minRows: 3 }" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item>
|
<a-form-item>
|
||||||
<a-button type="primary" @click="createCategory">保存</a-button>
|
<a-button type="primary" @click="createCategory">保存</a-button>
|
||||||
|
@ -46,14 +46,14 @@
|
||||||
<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="取消"
|
||||||
>
|
>
|
||||||
<a href="javascript:;">删除</a>
|
<a href="javascript:;">删除</a>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
</a-card>
|
</a-card>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
Loading…
Reference in New Issue