|
|
@ -414,6 +414,7 @@ const emit = defineEmits<{ |
|
|
|
): void; |
|
|
|
( |
|
|
|
e: 'afterRequestData', // 表格请求数据完成后触发事件 |
|
|
|
data: any, // 请求的参数 |
|
|
|
): void; |
|
|
|
( |
|
|
|
e: 'beforeEditorDataSubmit', // 内置新增编辑功能数据提交前触发事件 |
|
|
@ -1567,7 +1568,7 @@ const onRequest = async (ops: any) => { |
|
|
|
state.pagination.descending = ops.pagination.descending; |
|
|
|
setRowDataExtraProperty(table.rows); |
|
|
|
stickyHeaderColumn(100); |
|
|
|
emit('afterRequestData'); |
|
|
|
emit('afterRequestData', table.rows); |
|
|
|
// table.treeExpand = false; |
|
|
|
// 判断数据加载后是否默认展开,是的话直接展开树形表格 |
|
|
|
if (table.treeExpand) { |
|
|
|