perf: perf modal and drawer

This commit is contained in:
vben
2020-11-27 23:41:45 +08:00
parent 819127e807
commit 81baf1d5c4
25 changed files with 571 additions and 496 deletions

View File

@@ -46,7 +46,7 @@ export function useRootSetting() {
unref(getRootSetting).contentMode === ContentEnum.FULL ? ContentEnum.FULL : ContentEnum.FIXED
);
function setRootSetting(setting: RootSetting) {
function setRootSetting(setting: Partial<RootSetting>) {
appStore.commitProjectConfigState(setting);
}