Browse Source

fix():bug修改

tags/PMS_V1.0.0_Alpha6
xingjx 1 year ago
parent
commit
5d73808c1b
  1. 16
      src/pages/OutRoadMgm/OutDeviceMgm/OutNvrMgm/loadable.jsx

16
src/pages/OutRoadMgm/OutDeviceMgm/OutNvrMgm/loadable.jsx

@ -471,7 +471,21 @@ function OutNvrMgm(props) {
// //
const handleAdd = () => { const handleAdd = () => {
setRowData(defRowData); setRowData(defRowData);
form.setFieldsValue({ nvr_type: "", standard_code: '' });
form.setFieldsValue({
nvr_type: "",
standard_code: '',
name: "",
operator_id: "",
road_id: "",
ip_address: "",
port: "",
video_port: "",
network_mode: "",
user_name: "",
password: "",
lng_lat: "",
address: "",
});
// form.resetFields(); // form.resetFields();
setVisible(true); setVisible(true);
}; };

Loading…
Cancel
Save