Jacky 4 tahun lalu
induk
melakukan
36e5af52ae
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      nginx-ui-frontend/src/views/DomainEdit.vue

+ 1 - 1
nginx-ui-frontend/src/views/DomainEdit.vue

@@ -115,7 +115,7 @@ export default {
         if (this.name) {
             this.$api.domain.get(this.name).then(r => {
                 this.configText = r.config
-                this.parse(r.config)
+                this.parse(r)
             }).catch(r => {
                 console.log(r)
                 this.$message.error("服务器错误")