fix: 修复编辑器与 API Client lint 问题

This commit is contained in:
que01 committed 2026-10-10 16:33:31 +08:00
1 parent 22a82dbfba
commit f57e1b1336
2 files changed
+4 -2

No files matched your search

@@ -399,7 +399,8 @@ export function PresentationEditor({
mutationFn: (values: PresentationValues) => {
const nextConfig = applyPresentationValues(config, sections, values);
// 页面内容编辑不提交模板选择,避免触发切换模板的权限校验。
const { visualTemplateKey: _visualTemplateKey, ...contentConfig } = nextConfig;
const contentConfig = { ...nextConfig };
delete contentConfig.visualTemplateKey;
const standard = applyStandardBrandValues(
brand as unknown as Record<string, unknown>,
sections,