Kaynağa Gözat

fix: AccessConfig修改

sun-chaochao 3 yıl önce
ebeveyn
işleme
8fec6c03cc
1 değiştirilmiş dosya ile 0 ekleme ve 19 silme
  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: '名称',