diff --git a/config/routes.js b/config/routes.js index 981509b..0051c07 100644 --- a/config/routes.js +++ b/config/routes.js @@ -21,6 +21,12 @@ export default [ }, ], }, + { + name: '快速开始', + icon: 'PlayCircleOutlined', + path: '/quickStart', + component: './quickStart', + }, { name: '系统管理', icon: 'SettingOutlined', diff --git a/src/app.jsx b/src/app.jsx index 12881b4..219265b 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -39,7 +39,12 @@ export async function getInitialState() { const queryMenuData = async () => { try { const data = [ - + { + name: '快速开始', + icon: 'PlayCircleOutlined', + path: '/quickStart', + component: './quickStart', + }, { code: 'device', name: '设备管理', diff --git a/src/pages/quickStart/components/StoreConfig/index.jsx b/src/pages/quickStart/components/StoreConfig/index.jsx new file mode 100644 index 0000000..6028f3d --- /dev/null +++ b/src/pages/quickStart/components/StoreConfig/index.jsx @@ -0,0 +1,91 @@ +import React, { useState } from 'react'; +import { Modal, Form, Input, Button, Select, InputNumber, TreeSelect } from 'antd'; + +const StoreConfig = (props) => { + + const { TextArea } = Input; + const { Option, OptGroup } = Select; + + return <> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +