Commit 89078360 authored by Maofei94's avatar Maofei94

perf: 移动配置优化

parent 70fe1612
Pipeline #22943 passed with stages
in 19 minutes 15 seconds
......@@ -21,8 +21,8 @@ const SiteConfig = props => {
{ text: '默认界面', value: 'default' },
]); // 系统登陆页
const [styleList, setStyleList] = useState([
{ text: '默认风格', value: 'default' },
{ text: '熊猫风格', value: '熊猫风格' },
{ text: '熊猫产品', value: 'default' },
{ text: '通用项目', value: 'project' },
]); // 系统风格
const [themeList, setThemeList] = useState([
{ text: '默认皮肤', value: 'default' },
......
......@@ -16,12 +16,17 @@ const AddConfig = props => {
{ text: '默认界面', value: 'default' },
]); // 系统登陆页
const [styleList, setStyleList] = useState([
{ text: '默认风格', value: 'default' },
{ text: '熊猫风格', value: '熊猫风格' },
{ text: '熊猫产品', value: 'default' },
{ text: '通用项目', value: 'project' },
]); // 系统风格
const [themeList, setThemeList] = useState([
{ text: '默认皮肤', value: 'default' },
]); // 系统皮肤
const [clientList, setClientList] = useState([
{ text: 'miniapp', value: 'miniapp' },
{ text: '手持系统', value: '手持系统' },
{ text: 'mypanda', value: 'mypanda' },
]);
const [loading, setLoading] = useState(false);
const [form] = Form.useForm();
const layout = {
......@@ -89,11 +94,19 @@ const AddConfig = props => {
rules={[
{
required: true,
message: '请输入应用类别',
message: '请选择应用类别',
},
]}
>
<Input placeholder="请输入应用类别" allowClear />
{/* <Input placeholder="请输入应用类别" allowClear /> */}
<Select placeholder="请选择应用类别">
{clientList &&
clientList.map((item, index) => (
<Option value={item.value} key={`item${index}`}>
{item.text}
</Option>
))}
</Select>
</Item>
<Item
label="系统图标:"
......
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