ng-devui
ng-devui copied to clipboard
Angular UI Component Library based on DevUI Design
在使用data-table的过程中,有时候需要用到单选功能,比如我需要知道用户选择了哪一行,然后根据这一行的数据显示子表数据或者进行其他操作,现在需要通过监控data-table事件来完成,非常的不方便。 非常感谢!
declare (property) FormDirective.layout: FormLayout Type '"horizontal"' is not assignable to type 'FormLayout'.
dragEndEvent($event: any) { console.log('执行顺序6') this.openCustomTableDialog({row: 4, col: 6}) } openCustomTableDialog(standard: { col: number; row: number }) { debugger console.log('执行顺序2') const result = this.dialogService.open({ id: 'dialog-service', width: '400px', maxHeight: '300px', title:...
data-table 组件,开启colDraggable="true",在无数据的情况下,报如下错误。 core.js:5967 ERROR TypeError: Cannot read property 'children' of undefined at DataTableHeadComponent.buildFakeTable (ng-devui-data-table.js:4792) at DataTableHeadComponent.renderFixFakeTableEl (ng-devui-data-table.js:4779) at DataTableHeadComponent.ngOnChanges (ng-devui-data-table.js:4519) at DataTableHeadComponent.rememberChangeHistoryAndInvokeOnChangesHook (core.js:1471) at callHook (core.js:2490) at callHooks (core.js:2456) at...
有后缀suffixTemplate 参数,但没有前缀icon 参数,最好增加一个,或者可以设置 suffixTemplate的位置
之前使用到Tree Select的时候,发现treeNodes 数据过多会严重拖慢页面的流畅性,希望能够做一个数据缓冲区,来处理不必要的dom生成 
组件dTable删除dataSource数组一行数据后再往dataSource数组中添加数据将会不显示
官网打开很慢
每次打开DevUI官网首页[https://devui.design](https://devui.design)都要花5-6秒时间,有时甚至要20-30秒,建议优化
一些建议和需求
- 主要是button按钮在点击或划过时,一些动画或过渡效果,不是很缓和。(参照效果https://material.angular.cn/components/button/examples) - 抽屉组件,那个平滑打开的效果,第一次打开的时候,过度的效果感觉不出来,第二次有感觉了,其实,过渡时间可以稍微延长一点点。 (参照效果:https://material.angular.cn/components/sidenav/examples) - 增加时间轴UI组件 -增加顶部全局提示(参照功能:https://ng.ant.design/components/message/zh) 以上是我的一些建议,希望能够有所帮助。加油!!!!