Skip to content
New issue

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

[BUG] #66

Open
bigheadz opened this issue Jun 1, 2022 · 0 comments
Open

[BUG] #66

bigheadz opened this issue Jun 1, 2022 · 0 comments

Comments

@bigheadz
Copy link

bigheadz commented Jun 1, 2022

Describe the bug
如何在输入了!后触发handleOnClick的补全呢?

我在如下的index.tsx里面输入了
const Test = () => {
return ;
};
输入!或者~触发添加onClick相关补全后, 只有props上的代码补全, 没有handleOnClick的函数本身代码被生成, 如下
const Test = () => {
return ;
};

我的package.json文件
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@ant-design/plots": "^1.0.9",
"@ant-design/pro-card": "^1.20.1",
"@ant-design/pro-descriptions": "^1.10.69",
"@ant-design/pro-form": "^1.66.0",
"@ant-design/pro-layout": "^6.35.0",
"@ant-design/pro-list": "^1.21.57",
"@ant-design/pro-skeleton": "^1.0.5",
"@ant-design/pro-table": "^2.73.0",
"@reduxjs/toolkit": "^1.8.1",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"ahooks": "^3.3.10",
"antd": "^4.20.1",
"axios": "^0.27.2",
"is-mobile": "^3.1.1",
"mockjs": "^1.1.0",
"query-string": "^7.1.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-redux": "^8.0.1",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"typescript": "^4.4.2",
"web-vitals": "^2.1.0"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant