Skip to content

Commit b7702da

Browse files
authored
fix: 解决控制台报错问题 (#7299)
1 parent db7180a commit b7702da

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

frontend/src/views/container/compose/create/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
:indent-with-tab="true"
102102
:tabSize="4"
103103
:lineWrapping="true"
104+
:disabled="true"
104105
:matchBrackets="true"
105106
theme="cobalt"
106107
:styleActiveLine="true"

frontend/src/views/container/compose/edit/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
:tabSize="4"
5252
:lineWrapping="true"
5353
:matchBrackets="true"
54+
:disabled="true"
5455
theme="cobalt"
5556
:styleActiveLine="true"
5657
:extensions="extensions"
@@ -93,7 +94,7 @@ const name = ref();
9394
const environmentStr = ref();
9495
const environmentEnv = ref();
9596
const createdBy = ref();
96-
const envFileContent = `env_file:\n - 1panel.env`;
97+
const envFileContent = ref(`env_file:\n - 1panel.env`);
9798
9899
const onSubmitEdit = async () => {
99100
const param = {

0 commit comments

Comments
 (0)