zhengdongxiang
zhengdongxiang
遇到相同问题 element-ui.common.js:2438 Uncaught TypeError: Cannot read properties of null (reading 'setAttribute') at VueComponent.removeTabindex (element-ui.common.js:2438:23) at VueComponent.hide (element-ui.common.js:2364:12) at Object.eval [as documentHandler] (clickoutside.js:39:36) at eval (clickoutside.js:25:22) at Array.forEach () at HTMLDocument.eval...
when i use babel-plugin-module-resolver,it does't work. module.exports = { presets: ['module:metro-react-native-babel-preset'], plugins: [ [ require.resolve('babel-plugin-module-resolver'), { alias: { '@utils': './libs/utils', '@sdk': './libs/sdk', '@env': './node_modules/react-native-dotenv', }, }, ], [ 'module:react-native-dotenv', {...
也遇到这个问题了
nzFocus触发了两次,用nzActivate绑定事件就好了
Try to set 'font-family:serif'...
same problem !  should use ` importShared('myStore')`
.ant-table-tbody{ height: 100px; overflow-y: scroll; } 还有个问题:nzPageIndexChange在nz-list的分页组件中会默认调用?
[类似table-body固定表头](https://ant.design/components/table-cn/#components-table-demo-fixed-header) ng-alain DEMO basic-list.component.ts文件 ``` getData() { console.log(123); this.loading = true; setTimeout(() => { this.data = getFakeList(5); this.loading = false; }, 1000); } ``` 这个打印123,会打印两次,但OnInit只调用一次getData(),去掉basic-list.component.html文件中(nzPageIndexChange)="getData()",就调用一次了。
useEventEmitter 在兄弟节点通信比较好用,但如果层级比较深,暂时没想到最佳实践的写法……
我使用mitt简单实现了一版,和提问的兄弟实现的差不多 ```js import { useEffect } from 'react' import mitt from 'mitt' type Events = { [key: string]: any } interface EventCallBack { (args: T): void } const eventBus =...