mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +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