소스 검색

perf(views): 优化"基本信息"步骤协协议高级设置默认值

wangshun 3 주 전
부모
커밋
57711cb9b3
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/views/register-gateway/BindProtocol.vue

+ 4 - 4
src/views/register-gateway/BindProtocol.vue

@@ -76,8 +76,8 @@ const protocolsItem = reactive<AgreementData>({
   name: '',
   protocolName: '',
   deviceName: '',
-  dataSendInterval: 1,
-  highFreqSendInterval: 1,
+  dataSendInterval: 180,
+  highFreqSendInterval: 2,
   protocolId: 0,
   isStandard: '0',
 });
@@ -184,8 +184,8 @@ const addSlave = () => {
     name: '',
     protocolName: '',
     deviceName: '',
-    dataSendInterval: 1,
-    highFreqSendInterval: 1,
+    dataSendInterval: 180,
+    highFreqSendInterval: 2,
     protocolId: undefined,
     isStandard: '0',
   });