hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2024-07-12 13:28:27 2 * @Date: 2024-07-12 13:28:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-08-01 17:00:57 4 + * @LastEditTime: 2024-08-01 17:07:24
5 * @FilePath: /data-table/src/components/TEditor/index.vue 5 * @FilePath: /data-table/src/components/TEditor/index.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -236,7 +236,7 @@ const tinymceOptions = { ...@@ -236,7 +236,7 @@ const tinymceOptions = {
236 // document.getElementById(editor.id).click(); 236 // document.getElementById(editor.id).click();
237 // }); 237 // });
238 // 初始化实例 238 // 初始化实例
239 - tinymce.activeEditor.setContent(props.table_html); 239 + handleSetContent(props.table_html)
240 }, 240 },
241 } 241 }
242 242
......
1 <!-- 1 <!--
2 * @Date: 2022-08-29 14:31:20 2 * @Date: 2022-08-29 14:31:20
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-08-01 16:50:57 4 + * @LastEditTime: 2024-08-01 17:08:10
5 * @FilePath: /data-table/src/components/TableField/index.vue 5 * @FilePath: /data-table/src/components/TableField/index.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -60,7 +60,7 @@ onMounted(() => { ...@@ -60,7 +60,7 @@ onMounted(() => {
60 table_html.value = props.item.component_props.default; 60 table_html.value = props.item.component_props.default;
61 // 61 //
62 props.item.value = { 62 props.item.value = {
63 - key: "table", 63 + key: "table_editor",
64 filed_name: props.item.key, 64 filed_name: props.item.key,
65 value: props.item.component_props.default, 65 value: props.item.component_props.default,
66 }; 66 };
......