Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-08-06 09:39:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c16b43b234f704e43532946c35475a91c4edc6cc
c16b43b2
1 parent
4d87560d
fix 表格组件显示完善
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
src/components/TableField/index.vue
src/components/TableField/index.vue
View file @
c16b43b
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-0
1 17:57:49
* @LastEditTime: 2024-08-0
6 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
)
// }
// })
});
...
...
Please
register
or
login
to post a comment