import React, { useState, useEffect } from "react"; import { SideSheet, Tabs, TabPane } from "@douyinfe/semi-ui"; function SideSheets(props) { const { dispatch, actions, user, loading, visible, close, SETUPS } = props; const [checkeds, setCheckeds] = useState([]); const [check, setCheck] = useState([]); const list = [ { name: "项目名称", a: "南昌县智慧环保", b: "南昌县智慧环保", c: "南昌市市政隧道综合管理平台", d: "C", }, { name: "关联结构物", a: "a", b: "B", c: "C", d: "C" }, { name: "关联测点", a: "a", b: "B", c: "C", d: "C" }, { name: "关联监测因素", a: "a", b: "B", c: "C", d: "C" }, ]; const IFname = [ "设备名称:", "设备编号:", "接入方式:", "厂商:", "添加账号:", "添加时间:", "行政区别:", "设备安装位置:", "SIP服务编号:", "SIP域:", "SIP端口号:", "通道数量:", "心跳周期:", "最大心跳次数:", "注册密码:", "注册有效期::", "接入识别模块:", ]; console.log(IFname); const styles = { width: 180, textAlign: "center", // background: "#FFFFFF", background: "url(/assets/images/background/backGround.png)", backgroundSize: "100% 100%", padding: "12px 17px", margin: "30px 0 0 10px", lineHeight: "20px", position: "relative", zIndex: 5, }; useEffect(() => {}, []); return ( { close(); }} >
{list.map((item) => { return (
{item.name}
{item.a}
{item.b}
{item.c}
{item.d}
); })}
{IFname.map((item, index) => { return index; })}
); } export default SideSheets;