dygapp 4 anos atrás
pai
commit
b9e1c0407c
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/vpn/ssl-client.vue

+ 2 - 2
src/views/vpn/ssl-client.vue

@@ -92,13 +92,13 @@ export default {
   async mounted () {
     await this.caquery()
     await this.sigcacertquery()
-    const res = await this.getSSLServer()
+    const res = await this.getSSLClient()
     if (res && res.errcode === 0) {
       this.ruleForm = res.data
     }
   },
   methods: {
-    ...mapActions(['sigcacertquery', 'sslState', 'caquery', 'setSSLClient', 'getSSLServer']),
+    ...mapActions(['sigcacertquery', 'sslState', 'caquery', 'setSSLClient', 'getSSLClient']),
     // 提交数据
     async onSubmit () {
       this.$refs.form.validate(async (valid) => {