diff --git a/src/views/factorySetting/index.vue b/src/views/factorySetting/index.vue
index 83a9d74..e384a9f 100644
--- a/src/views/factorySetting/index.vue
+++ b/src/views/factorySetting/index.vue
@@ -23,27 +23,27 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -138,6 +138,15 @@ export default {
})
},
+ getPacketInfo() {
+ getPacketCaptureInfo({}).then(res => {
+ const data = res.data
+ this.DataDB.status = data.status
+ this.DataDB.file = data.file
+ }).catch(() => {
+
+ })
+ },
StartPacketCapture(Flag) {
if (Flag === 1) {
startPacketCapture({}).then(res => {
@@ -153,15 +162,6 @@ export default {
})
}
},
- getPacketInfo() {
- getPacketCaptureInfo({}).then(res => {
- const data = res.data
- this.DataDB.status = data.status
- this.DataDB.file = data.file
- }).catch(() => {
-
- })
- },
DeletePacketCaptureRecords() {
const data = {
name: this.DataDB.file