refactor:update element-ui

This commit is contained in:
Pan
2017-11-01 11:26:57 +08:00
parent fe31c88193
commit e8b34bbc0d
9 changed files with 28 additions and 38 deletions

View File

@@ -74,7 +74,7 @@ export default {
statusFilter(status) {
const statusMap = {
published: 'success',
draft: 'gray',
draft: 'info',
deleted: 'danger'
}
return statusMap[status]