fix(API基址): VITE_SERVICE_HOST /cms→/yschcms 对齐projman部署上下文;upload校验/菜单剥离兼容新旧前缀
build / build (push) Successful in 2m16s

This commit is contained in:
chenxing
2026-09-07 09:35:11 +08:00
parent 82eb067b19
commit 506fae0097
9 changed files with 24 additions and 19 deletions
+3 -3
View File
@@ -23,12 +23,12 @@ export interface SiteConfigFieldDef {
export const SITE_CONFIG_FIELD_DEFS: SiteConfigFieldDef[] = [
{
key: "logo", label: "站点 Logo", group: "display", kind: "asset", maxLength: 500,
placeholder: "如 /cms/upload/2026/06/logo.png 或 https://…",
placeholder: "如 /yschcms/upload/2026/06/logo.png 或 https://…",
tip: "门户顶栏与页脚品牌位展示;建议先在「附件管理」上传,复制路径填到这里。",
},
{
key: "favicon", label: "浏览器图标 favicon", group: "display", kind: "asset", maxLength: 500,
placeholder: "如 /cms/upload/…/favicon.png(留空用主题内置图标)",
placeholder: "如 /yschcms/upload/…/favicon.png(留空用主题内置图标)",
},
{
key: "slogan", label: "首页标语", group: "display", kind: "text", maxLength: 200,
@@ -63,7 +63,7 @@ export const SITE_CONFIG_FIELD_DEFS: SiteConfigFieldDef[] = [
{
key: "public_base_url", label: "对外基地址", group: "domain", kind: "url", maxLength: 500,
placeholder: "如 https://www.xxx.edu.cn",
tip: "绑定独立域名后必填;未填时全站链接走 base 域子路径形态(/cms/portal/{站点编码})。",
tip: "绑定独立域名后必填;未填时全站链接走 base 域子路径形态(/yschcms/portal/{站点编码})。",
},
];