Commit ffeee370 authored by 皮倩雯's avatar 皮倩雯

fix: 'web网站配置增加是否开启公告'

parent 9a88a27b
Pipeline #80027 passed with stages
......@@ -164,7 +164,7 @@ export default props => {
setVisibleChecked5(false);
}
console.log(config);
debugger;
setVisibleChecked(config.navTheme == 'light');
setVisibleChecked2(config.hideMap);
setVisibleChecked4(config.messageVoice);
......@@ -182,6 +182,7 @@ export default props => {
useCoverMap: config.useCoverMap == 'true',
isCache: config.isCache,
changeStation: config.changeStation,
OpenAnnouncement: config.OpenAnnouncement,
headerPrimaryColor: config.headerPrimaryColor
? config.headerPrimaryColor
: 'linear-gradient(0deg, #0066D6 0%, #39A9FF 100%)',
......@@ -232,6 +233,7 @@ export default props => {
useCoverMap: true,
isCache: true,
changeStation: false,
OpenAnnouncement: false,
headerPrimaryColor: 'linear-gradient(0deg, #0066D6 0%, #39A9FF 100%)',
});
setCheckValue([]);
......@@ -769,6 +771,9 @@ export default props => {
onChange={change4}
/>
</Form.Item>
<Form.Item label="开启公告" name="OpenAnnouncement" valuePropName="checked">
<Switch checkedChildren="是" unCheckedChildren="否" />
</Form.Item>
{/* <Form.Item label="菜单样式" name="menuState">
<Switch
checkedChildren="展开"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment