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

fix: 'web配置新增站点切换'

parent 97f59ee5
Pipeline #79126 passed with stages
......@@ -139,6 +139,7 @@ export default props => {
if (isEdit) {
// 获取表单回显
console.log(config, 'config');
debugger;
if (config.CloudStyle == '是') {
config.CloudStyle == true;
setVisibleChecked1(true);
......@@ -180,6 +181,7 @@ export default props => {
menuState: config.menuState,
useCoverMap: config.useCoverMap == 'true',
isCache: config.isCache,
changeStation: config.changeStation,
headerPrimaryColor: config.headerPrimaryColor
? config.headerPrimaryColor
: 'linear-gradient(0deg, #0066D6 0%, #39A9FF 100%)',
......@@ -229,6 +231,7 @@ export default props => {
CloudStyle: true,
useCoverMap: true,
isCache: true,
changeStation: false,
headerPrimaryColor: 'linear-gradient(0deg, #0066D6 0%, #39A9FF 100%)',
});
setCheckValue([]);
......@@ -534,6 +537,9 @@ export default props => {
<Form.Item label="页面缓存" name="isCache" valuePropName="checked">
<Switch checkedChildren="开启" unCheckedChildren="关闭" />
</Form.Item>
<Form.Item label="站点切换" name="changeStation" valuePropName="checked">
<Switch checkedChildren="开启" unCheckedChildren="关闭" />
</Form.Item>
<Divider orientation="left" style={{ borderTopColor: '#99bbe8' }}>
主页配置
</Divider>
......
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