Skip to content

Commit 36ca3dd

Browse files
committed
Re-add toRaw to appearance and tools
1 parent 7a95cb8 commit 36ca3dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/components/EmailEditor.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default defineComponent({
8181
const options = toRaw(this.options) || {};
8282
8383
if (this.appearance) {
84-
options.appearance = this.appearance;
84+
options.appearance = toRaw(this.appearance);
8585
}
8686
8787
if (this.locale) {
@@ -93,7 +93,7 @@ export default defineComponent({
9393
}
9494
9595
if (this.tools) {
96-
options.tools = this.tools;
96+
options.tools = toRaw(this.tools);
9797
}
9898
9999
const rawEditor = unlayer.createEditor({

0 commit comments

Comments
 (0)