😎清理代码

This commit is contained in:
zuohuaijun 2025-07-28 13:10:04 +08:00
parent 17c3fb6a98
commit d29f5572ad
2 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,7 @@ export async function loadSysInfo(tenantid: number) {
themeConfig.value.copyright = data.copyright;
// 版本号
themeConfig.value.version = data.version;
// 轮播图
// 轮播图集合
themeConfig.value.carouselFiles = data.carouselFiles;
// 全局主题
themeConfig.value.primary = data.themeColor;

View File

@ -243,7 +243,6 @@ const saveSysInfo = async () => {
.then((res) => res.data.result?.map((file: any) => file.id) ?? []);
state.sysInfo.carouselFileIds.push(...sysFileIds);
}
console.log(state.sysInfo.carouselFileIds);
}
await getAPI(SysTenantApi).apiSysTenantSaveSysInfoPost(state.sysInfo);
ElMessage.success('保存成功');