Explorar o código

处理变量命名bug

dygapp %!s(int64=4) %!d(string=hai) anos
pai
achega
0b7c84e610
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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()