页面优化

This commit is contained in:
Dev
2026-10-19 15:46:10 +08:00
parent 44405743bb
commit 6beeeb2383
14 changed files with 229 additions and 120 deletions
@@ -5,7 +5,7 @@ function tagTheme(type) {
'1': 'warning',
'2': 'success'
};
return map[String(type)] || 'default';
return map['' + type] || 'default';
}
module.exports = {
tagTheme: tagTheme
@@ -9,7 +9,7 @@ function tagTheme(type) {
'1': 'warning',
'2': 'success'
};
return map[String(type)] || 'default';
return map['' + type] || 'default';
}
module.exports = {
ellipsis: ellipsis,