fix: 切换语言/主题 编辑器禁用状态不匹配

This commit is contained in:
dap
2024-08-20 14:34:17 +08:00
parent 610c007558
commit 460a5ff494
2 changed files with 15 additions and 28 deletions

View File

@@ -16,7 +16,7 @@ const content = ref('');
<span>只读</span>
<a-switch v-model:checked="readonly" />
</div>
<Tinymce v-model="content" :disabled="readonly" :height="800" />
<Tinymce v-model="content" :height="800" :options="{ readonly }" />
</div>
</Page>
</template>