We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
const columns:ProColumns<Task>[] = [ { title: '仓库', dataIndex: 'repository', valueType: 'select', request: async () => { const {data } = await repo_list.runAsync({ }) return data?.map(item => { return { label: item.name, value: item.name } }) || [{}] } }, ]
"dependencies": { "@ant-design/icons": "^5.0.1", "@ant-design/pro-components": "^2.4.4", "@emotion/css": "^11.11.2", "@umijs/max": "^4.1.1", "ahooks": "^3.7.10", "antd": "^5.4.0" }, "devDependencies": { "@types/react": "^18.0.33", "@types/react-dom": "^18.0.11", "@umijs/mfsu": "^4.1.2", "husky": "^8.0.3", "lint-staged": "^13.2.0", "prettier": "^2.8.7", "prettier-plugin-organize-imports": "^3.2.2", "prettier-plugin-packagejson": "^2.4.3", "typescript": "^5.0.3" }
The text was updated successfully, but these errors were encountered:
@sorrycc
Sorry, something went wrong.
解决了, 我直接使用浏览器的。 await fetch('http://localhost:8000/api/repo/', {}).then((data) => data.json()) 这个是正常的
ahooks的此enum request加载得添加 manual=True,才可以。
解决了!!
No branches or pull requests
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
💻 复现代码
The text was updated successfully, but these errors were encountered: