Merge pull request #12954 from dataease/pr@dev-v2@fix_rich-table

refactor(仪表板、数据大屏): 初始化富文本表格大小
This commit is contained in:
王嘉豪 2024-10-28 22:42:18 +08:00 committed by GitHub
commit 0266ea1fb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -172,6 +172,12 @@ const init = ref({
branding: false,
icons: 'vertical-content',
vertical_align: element.value.propValue.verticalAlign,
table_default_attributes: {
width: '400' // 使 table_default_attributes
},
table_default_styles: {
width: '400px' // 使 table_default_styles px
},
setup: function (editor) {
let cloneHandle = null //
let originalHandle = null //