Commit 364079f4 authored by 皮倩雯's avatar 皮倩雯

fix: '集成登录新增配置加载时间'

parent dffde044
Pipeline #76206 passed with stages
......@@ -15,6 +15,7 @@ import {
Cascader,
Radio,
AutoComplete,
InputNumber,
} from 'antd';
import {
AddIntegratedloginSetting,
......@@ -107,6 +108,7 @@ const Master = props => {
title: aa[0],
titlebr: aa[1],
loginTemplate: res.data.loginTemplate,
loadingTime: res.data.loadingTime,
mapSettings: res.data.mapSettings,
qrCodename: bb[0],
qrCodeurl: bb[1],
......@@ -179,6 +181,7 @@ const Master = props => {
loginTemplate: obj.loginTemplate || 'Default',
title: obj.title,
displayMode: obj.displayMode,
loadingTime: obj.loadingTime,
mapSettings: obj.displayMode == '卡片' ? keepSettings : obj.mapSettings,
qrCodeConfig: obj.qrCodename && obj.qrCodeurl && `${obj.qrCodename}|${obj.qrCodeurl}`,
})
......@@ -445,9 +448,31 @@ const Master = props => {
))}
</Select>
</Item>
<Form.Item label="登录模板" name="loginTemplate">
<Item label="登录模板" name="loginTemplate">
<AutoComplete placeholder="请选择登录模板" options={options1} allowClear />
</Form.Item>
</Item>
<Row>
<Col span={8}>
<Item
label="加载时间"
name="loadingTime"
labelCol={{ span: 12 }}
rules={[
{
required: true,
message: '加载时间必填项',
},
]}
>
<InputNumber min={0} max={5} />
</Item>
</Col>
<Col span={16}>
<Item>
<span>秒</span>
</Item>
</Col>
</Row>
<Item label="展示方式" name="displayMode">
<Radio.Group onChange={onChange} value={radio}>
<Radio value="卡片">卡片</Radio>
......
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