Skip to content

Commit 5a53be7

Browse files
committed
fix: get value crash
1 parent 7fc2541 commit 5a53be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/components/editor/CustomUploadForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ onMounted(() => {
6464
})
6565
6666
function formCustomSave() {
67-
const str = editor.value!.getValue()
67+
const str = toRaw(editor.value!).getValue()
6868
localStorage.setItem(`formCustomConfig`, str)
6969
toast.success(`保存成功`)
7070
}

0 commit comments

Comments
 (0)