Fix: .env code change is not reactive

This commit is contained in:
Louis Lam 2023-12-10 02:21:36 +08:00
parent 007eac7b58
commit 1ce74d1801
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +0,0 @@
export class Docker {
}

View File

@ -374,6 +374,17 @@ export default {
}, },
deep: true, deep: true,
}, },
"stack.composeENV": {
handler() {
if (this.editorFocus) {
console.debug("env code changed");
this.yamlCodeChange();
}
},
deep: true,
},
jsonConfig: { jsonConfig: {
handler() { handler() {
if (!this.editorFocus) { if (!this.editorFocus) {