Replies: 1 comment 4 replies
-
作为一个基础 hook,在useTableHook 里加不是很合适,它是需要考虑跨组件库的,在 useTable 里加可以 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
NDataTable 的横向滚动距离通过 scroll-x 指定,这一点让人感觉的很不爽,本应由 Naive UI 计算而得,但是 Naive UI 并没有这样做,不知道其设计的初衷是什么。
例如:
soybean-admin/src/views/manage/user/index.vue
Lines 185 to 197 in 1740ca2
现在,我想在 useTable hook 中增加一个 scrollX 导出,这样可以不用每次都人工计算宽度:
不知道 soybean-admin 的维护者们是否同意加入此功能,同意的话,我可以 PR~
Beta Was this translation helpful? Give feedback.
All reactions