Fixed title format.

pull/9/head
ruibaby 6 years ago
parent 9d037e2cc3
commit 4a1ff54737

@ -15,7 +15,7 @@ Vue.config.productionTip = false
router.beforeEach((to, from, next) => {
if (to.meta.title) {
document.title = to.meta.title
document.title = to.meta.title + ' | Halo Dashboard'
}
next()
})

@ -22,7 +22,7 @@
</a-select>
</a-form-item>
<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-button type="primary" @click="createCategory"></a-button>
@ -46,14 +46,14 @@
<a href="javascript:;" @click="editCategory(record.id)"></a>
<a-divider type="vertical" />
<a-popconfirm
:title="'你确定要删除【' + record.name + '】菜单'"
:title="'你确定要删除【' + record.name + '】分类'"
@confirm="deleteCategory(record.id)"
okText="确定"
cancelText="取消"
>
<a href="javascript:;">删除</a>
</a-popconfirm>
</span>
</span>
</a-table>
</a-card>
</a-col>

Loading…
Cancel
Save