mirror of
https://github.com/certd/certd.git
synced 2026-05-16 13:17:29 +08:00
perf: 顶部菜单自定义
This commit is contained in:
@@ -64,6 +64,7 @@ import * as api from "./api";
|
||||
import { notification } from "ant-design-vue";
|
||||
import { useSettingStore } from "/src/store/modules/settings";
|
||||
import { useUserStore } from "/@/store/modules/user";
|
||||
import { merge } from "lodash-es";
|
||||
|
||||
defineOptions({
|
||||
name: "SiteSetting"
|
||||
@@ -85,7 +86,7 @@ async function loadSysSiteSettings() {
|
||||
if (data == null) {
|
||||
return;
|
||||
}
|
||||
Object.assign(formState, data);
|
||||
merge(formState, data);
|
||||
}
|
||||
const saveLoading = ref(false);
|
||||
loadSysSiteSettings();
|
||||
|
||||
Reference in New Issue
Block a user