mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 02:57:50 +08:00
perf: button add onClick props
This commit is contained in:
parent
05e34009e6
commit
bea9c5f1ef
@ -18,6 +18,7 @@ const TransButton = {
|
||||
inheritAttrs: false,
|
||||
props: {
|
||||
noStyle: PropTypes.bool,
|
||||
onClick: PropTypes.func,
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
@ -11,4 +11,5 @@ export default () => ({
|
||||
ghost: PropTypes.bool,
|
||||
block: PropTypes.bool,
|
||||
icon: PropTypes.any,
|
||||
onClick: PropTypes.func,
|
||||
});
|
||||
|
@ -77,7 +77,7 @@
|
||||
"@commitlint/config-conventional": "^8.0.0",
|
||||
"@octokit/rest": "^16.0.0",
|
||||
"@vue/cli-plugin-eslint": "^4.0.0",
|
||||
"@vue/compiler-sfc": "^3.0.0-rc.2",
|
||||
"@vue/compiler-sfc": "^3.0.0-rc.4",
|
||||
"@vue/server-test-utils": "1.0.0-beta.16",
|
||||
"@vue/test-utils": "^2.0.0-beta.0",
|
||||
"acorn": "^7.0.0",
|
||||
@ -153,7 +153,7 @@
|
||||
"through2": "^3.0.0",
|
||||
"typescript": "^3.9.7",
|
||||
"url-loader": "^3.0.0",
|
||||
"vue": "^3.0.0-rc.2",
|
||||
"vue": "^3.0.0-rc.4",
|
||||
"vue-antd-md-loader": "^1.1.0",
|
||||
"vue-clipboard2": "0.3.1",
|
||||
"vue-draggable-resizable": "^2.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user