-
// 管理员登陆验证
platform 为3 则为pc端 !3为 移动端
if(platform&&platform===3){
if(userd['type']!==1){
return res.json({"code":1004, "message":"非管理员无法登陆" });
…
-
Uncaught runtime errors:
×
ERROR
Cannot read properties of null (reading 'useState')
TypeError: Cannot read properties of null (reading 'useState')
at useState (http://localhost:3000/static/j…
-
My current project is currently in Ant.d, Less, Create-react-app and uses react-app-rewired, customize-cra for custom webpack configurations.
```
File: ./src/antdCustom.scss
--------------------…
-
Got this error when run `npm run storybook`
```
Module not found: Error: Can't resolve 'antd' in 'rollup-react-library-starter/src/components/Input'
```
-
### Reproduction link
[https://stackblitz.com/edit/react-kok6mg?file=demo.tsx](https://stackblitz.com/edit/react-kok6mg?file=demo.tsx)
### Steps to reproduce
点击按钮弹出 Popover
### What is exp…
-
Ubuntu 16 server
16gb ram
2TB
npm -v
5.6.0
node -v
9.0.0
The following package will also not install by themselves. Tried installing the problem packages one by one but with no luck. Any help…
-
### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-4vvf39?layout=%257B%2522sid…
-
## 问题描述:
因为我的右键菜单会有二级菜单,故选用了antd.Menu来实现相关功能.
而目前Command作为Menu.Item的子组件,当Command为不可用状态时,Menu.Item不能知道Command当前的状态.
虽然Command组件上会添上disable类,可以通过css来修改样式,但是在这种情况下修改的样式过多,且很可能破坏Menu.Item的样式.
## 问题截图:…
-
### Reproduction link
[https://ant.design/components/date-picker](https://ant.design/components/date-picker)
### Steps to reproduce
- Datepicker have placeholder
- Add mode multiple Datepick…
-
I'm trying to use this with [antd](https://ant.design/) and get a barrage of errors but it starts with:
```
Duplicate identifier 'type'. (/Users/pinkboi/src/oea/node_modules/@ant-design/icons/lib/…