Commit d0ca46fe511a6393d45d55efda3271a00cf07410
1 parent
a29e456b
fix(sqlConfiguration.vue): 修复数据绑定为遵循单向数据流
Showing
1 changed file
with
1 additions
and
2 deletions
... | ... | @@ -22,8 +22,7 @@ const updateValue = (value: string) => { |
22 | 22 | <NTag type="success" style="width: fit-content;">sql</NTag> |
23 | 23 | </SettingItemBox> |
24 | 24 | <SettingItemBox name="键值"> |
25 | - <MonacoEditor v-model:modelValue="value" @update:modelValue="updateValue" width="600px" height="200px" | |
26 | - language="sql" /> | |
25 | + <MonacoEditor :modelValue="value" @update:modelValue="updateValue" width="600px" height="200px" language="sql" /> | |
27 | 26 | </SettingItemBox> |
28 | 27 | </section> |
29 | 28 | </template> | ... | ... |