sun-chaochao 3 роки тому
батько
коміт
8fec6c03cc
1 змінених файлів з 0 додано та 19 видалено
  1. 0 19
      src/pages/device/Product/Detail/Access/index.tsx

+ 0 - 19
src/pages/device/Product/Detail/Access/index.tsx

@@ -33,27 +33,8 @@ const Access = () => {
   const [visible, setVisible] = useState<boolean>(true);
   const [config, setConfig] = useState<any>();
 
-  // const [networkList, setNetworkList] = useState<any[]>([]);
-  // const [procotolList, setProcotolList] = useState<any[]>([]);
-
   const [param, setParam] = useState<any>({ pageSize: 10 });
 
-  // const queryNetworkList = () => {
-  //     service1.getNetwork({ paging: false }).then((resp) => {
-  //         if (resp.status === 200) {
-  //             setNetworkList(resp.result);
-  //         }
-  //     });
-  // };
-
-  // const queryProcotolList = () => {
-  //     service1.getProtocol().then((resp) => {
-  //         if (resp.status === 200) {
-  //             setProcotolList(resp.result);
-  //         }
-  //     });
-  // };
-
   const columns: ProColumns<any>[] = [
     {
       title: '名称',