feat(projects): 新增主题颜色配置

This commit is contained in:
Soybean
2021-09-01 23:36:06 +08:00
parent 93bbaca89a
commit d93493b91c
9 changed files with 34 additions and 6 deletions

View File

@ -80,6 +80,10 @@ const appStore = defineStore({
/** 关闭配置抽屉 */
closeSettingDrawer() {
this.settingDrawer.visible = false;
},
/** 设置系统主题颜色 */
setThemeColor(color: string) {
this.themeSettings.themeColor = color;
}
}
});