Commit 212f649c authored by 涂伟's avatar 涂伟

fix: 'mobile配置修改'

parent acf0de31
Pipeline #74315 passed with stages
...@@ -8,10 +8,14 @@ const { Option } = Select; ...@@ -8,10 +8,14 @@ const { Option } = Select;
const SiteConfig = props => { const SiteConfig = props => {
const { miniTitle, submitCallback, addCallback, parentKey, clientName, singleList } = props; const { miniTitle, submitCallback, addCallback, parentKey, clientName, singleList } = props;
const [config, setConfig] = useState(''); // 网站配置信息 const [config, setConfig] = useState(''); // 网站配置信息
const [loginList, setLoginList] = useState([{ text: '默认界面', value: 'default' }]); // 系统登陆页 const [loginList, setLoginList] = useState([
{ text: '科技蓝', value: 'default' },
{ text: 'h5_科技蓝', value: 'h5_default' },
{ text: 'h5_江西水务', value: 'h5_jiangxi' },
]); // 系统登陆页
const [h5LoginList, setH5LoginList] = useState([ const [h5LoginList, setH5LoginList] = useState([
{ text: 'h5默认界面', value: 'default' }, { text: '科技蓝', value: 'h5_default' },
{ text: '江西登录界面', value: 'jiangxi' }, { text: '江西水务', value: 'h5_jiangxi' },
]); // H5登陆页 ]); // H5登陆页
const [styleList, setStyleList] = useState([ const [styleList, setStyleList] = useState([
{ text: '熊猫产品', value: 'default' }, { text: '熊猫产品', value: 'default' },
......
...@@ -8,10 +8,14 @@ const AddConfig = props => { ...@@ -8,10 +8,14 @@ const AddConfig = props => {
const { miniTitle, submitCallback, subType, addCallback, singleList, visible } = props; const { miniTitle, submitCallback, subType, addCallback, singleList, visible } = props;
console.log(subType, 'ubType'); console.log(subType, 'ubType');
const [config, setConfig] = useState(''); // 网站配置信息 const [config, setConfig] = useState(''); // 网站配置信息
const [loginList, setLoginList] = useState([{ text: '默认界面', value: 'default' }]); // 系统登陆页 const [loginList, setLoginList] = useState([
{ text: '科技蓝', value: 'default' },
{ text: 'h5_科技蓝', value: 'h5_default' },
{ text: 'h5_江西水务', value: 'h5_jiangxi' },
]); // 系统登陆页
const [h5LoginList, setH5LoginList] = useState([ const [h5LoginList, setH5LoginList] = useState([
{ text: 'h5默认界面', value: 'default' }, { text: '科技蓝', value: 'h5_default' },
{ text: '江西登录界面', value: 'jiangxi' }, { text: '江西水务', value: 'h5_jiangxi' },
]); // H5登陆页 ]); // H5登陆页
const [styleList, setStyleList] = useState([ const [styleList, setStyleList] = useState([
{ text: '熊猫产品', value: 'default' }, { text: '熊猫产品', value: 'default' },
......
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