应用场景 #
- 需要用户打开首页时直接查看相应报表
- 自定义人性化的首页显示
使用方法 #
- 在首页头像 –> 服务配置
{
"SMC": {
"logo": "http://.../xx.png",
"title": "数据中台",
"logoWidth": "130px",
"gpt":"smtgpt",
"home":"/echart/?type=2",
"theme":"/static/smartui/theme/light.css"
}
}
logo:填写自定义Logo的URL
title:填写自定义首页名
logoWith: 调整Logo的尺寸
gpt:指定默认的大模型数据源名称
home:替换首页的url
theme:指定风格
针对不同人的配置 #
比如可以指定 admin 使用自定义风格
{
"_SMC": {
"admin": {"title": "个性化", "logo": "http://.../xx.png"}
}
}