mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-13 04:03:42 +08:00
refactor(projects): 路由文件夹拆分模块,代码重构
This commit is contained in:
@@ -51,12 +51,12 @@ const hoverColor: FillColor = ['#dee1e6', '#3f3c37'];
|
||||
const fill = computed(() => {
|
||||
const index = Number(props.darkMode);
|
||||
let color = defaultColor[index];
|
||||
if (props.isActive) {
|
||||
color = activeColor[index];
|
||||
}
|
||||
if (props.isHover) {
|
||||
color = hoverColor[index];
|
||||
}
|
||||
if (props.isActive) {
|
||||
color = activeColor[index];
|
||||
}
|
||||
return color;
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user