diff --git a/src/App.vue b/src/App.vue index e5bad54..6cac192 100644 --- a/src/App.vue +++ b/src/App.vue @@ -17,13 +17,15 @@ + + \ No newline at end of file + diff --git a/src/components/ChiGateway.vue b/src/components/ChiGateway.vue index 07e4c51..58ac64d 100644 --- a/src/components/ChiGateway.vue +++ b/src/components/ChiGateway.vue @@ -1,154 +1,164 @@ \ No newline at end of file + diff --git a/src/components/CloneView.vue b/src/components/CloneView.vue index ffeee8f..343de32 100644 --- a/src/components/CloneView.vue +++ b/src/components/CloneView.vue @@ -1,413 +1,547 @@ \ No newline at end of file + + .con_right { + width: 480px; + + .dialog-footer { + .el-button { + width: 80px; + height: 30px; + line-height: 0.5; + } + } + } + } +} + diff --git a/src/components/DataView.vue b/src/components/DataView.vue index e6bc9f5..831c528 100644 --- a/src/components/DataView.vue +++ b/src/components/DataView.vue @@ -1,326 +1,348 @@ - diff --git a/src/components/IpConfiguration.vue b/src/components/IpConfiguration.vue new file mode 100644 index 0000000..2a5d438 --- /dev/null +++ b/src/components/IpConfiguration.vue @@ -0,0 +1,205 @@ + + diff --git a/src/components/PortConfiguration.vue b/src/components/PortConfiguration.vue new file mode 100644 index 0000000..2d35353 --- /dev/null +++ b/src/components/PortConfiguration.vue @@ -0,0 +1,207 @@ + + + diff --git a/src/components/SerialPort.vue b/src/components/SerialPort.vue index d5b6d02..f3b8027 100644 --- a/src/components/SerialPort.vue +++ b/src/components/SerialPort.vue @@ -1,475 +1,667 @@ \ No newline at end of file + diff --git a/src/validate.js b/src/validate.js new file mode 100644 index 0000000..5f1552c --- /dev/null +++ b/src/validate.js @@ -0,0 +1,7 @@ +// 辅助函数,检查主DNS服务器地址是否有效 +export let isValidPrimaryDNS = (value) => { + // 在这里可以添加更多的校验逻辑 + // 例如,检查是否是有效的IP地址或域名 + // 这里只提供了一个简单的示例 + return /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/.test(value); +};