zhangjie hace 2 años
padre
commit
f2f62907a0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/modules/admin/components/EditNginxContent.vue

+ 2 - 1
src/modules/admin/components/EditNginxContent.vue

@@ -146,7 +146,8 @@ export default {
       this.loading = true;
 
       const res = await appNginxConfigUpdate({
-        ...this.filter,
+        ...this.filterData,
+        envId: this.curEnv.id,
         content: this.nginxContent
       }).catch(() => {});
       this.loading = false;