hookehuyr

fix 表格组件显示完善

<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-01 17:57:49
* @LastEditTime: 2024-08-06 09:30:52
* @FilePath: /data-table/src/components/TableField/index.vue
* @Description: 文件描述
-->
......@@ -55,21 +55,25 @@ const ReadonlyShow = computed(() => {
});
onMounted(() => {
nextTick(() => {
setTimeout(() => {
$('.tinymce-box').width($('.table-field-page').width() + 'px');
}, 1000);
})
//
table_html.value = props.item.component_props.default;
table_html.value = props.item.component_props.note;
//
props.item.value = {
key: "table_editor",
filed_name: props.item.key,
value: props.item.component_props.default,
value: props.item.component_props.note,
};
emit("active", props.item.value);
// setTimeout(() => {
// }, 1000);
// nextTick(() => {
// if (refEdit.value) {
// refEdit.value.handleSetContent(props.item.component_props.default)
// refEdit.value.handleSetContent(props.item.component_props.note)
// }
// })
});
......