Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
组件内使用useLayoutEffect方法,内部函数并没有被执行, 而在页面级中调用useLayoutEffect 却可以正常执行