页面优化
This commit is contained in:
@@ -9,7 +9,7 @@ function tagTheme(type) {
|
||||
'1': 'warning',
|
||||
'2': 'success'
|
||||
};
|
||||
return map[String(type)] || 'default';
|
||||
return map['' + type] || 'default';
|
||||
}
|
||||
module.exports = {
|
||||
ellipsis: ellipsis,
|
||||
|
||||
Reference in New Issue
Block a user