Newer
Older
HuangJiPC / src / store / getters.js
@zhangdeliang zhangdeliang on 21 Jun 392 bytes update
const getters = {
    sysTheme: (state) => state.system.theme, //系统主题
    sysThemeColor: (state) => state.system.theme ?
        {
            ...state.system.themeColor,
            ...state.system.darkThemeOverrides
        } :
        {
            ...state.system.themeColor,
            ...state.system.darkThemeOverrides
        }, //系统主题色
};

export default getters;