Quellcode durchsuchen

处理变量命名bug

dygapp vor 4 Jahren
Ursprung
Commit
0b7c84e610
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/views/log.vue

+ 2 - 2
src/views/log.vue

@@ -43,7 +43,7 @@ export default {
       switch (type) {
         case 'system':
           this.title = '系统日志'
-          this.type = 'systemct'
+          this.type = 'system'
           break
         case 'sslvpn':
           this.title = 'SSLVPN日志'
@@ -51,7 +51,7 @@ export default {
           break
         case 'ipsecvpn':
           this.title = 'IPSecVPN日志'
-          this.type = 'sec'
+          this.type = 'ipsec'
           break
       }
       this.query()