mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-15 01:09:20 +08:00
refactor(editor): 修改变量的类型声明
This commit is contained in:
parent
0eab817a11
commit
60c572ec30
@ -55,7 +55,7 @@ const codeContent = ref<string>('');
|
|||||||
const editorContent = ref<string>('');
|
const editorContent = ref<string>('');
|
||||||
const codeEditor = ref<InstanceType<typeof MagicCodeEditor>>();
|
const codeEditor = ref<InstanceType<typeof MagicCodeEditor>>();
|
||||||
// 原始代码内容
|
// 原始代码内容
|
||||||
const originCodeContent = ref<string | null>(null);
|
const originCodeContent = ref<string>('');
|
||||||
|
|
||||||
const codeOptions = computed(() => ({
|
const codeOptions = computed(() => ({
|
||||||
...props.codeOptions,
|
...props.codeOptions,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user