mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 03:15:07 +08:00
Table 组件:1)增加 tableMethods 属性,提升代码的可阅读性;2)Table 和 Pagination 组件的逻辑统一
This commit is contained in:
@ -218,6 +218,8 @@ export const useTable = <T = any>(config?: UseTableConfig<T>) => {
|
||||
register,
|
||||
elTableRef,
|
||||
tableObject,
|
||||
methods
|
||||
methods,
|
||||
// add by 芋艿:返回 tableMethods 属性,和 tableObject 更统一
|
||||
tableMethods: methods
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user