perf: button add onClick props

This commit is contained in:
tanjinzhou 2020-07-27 13:50:57 +08:00
parent 05e34009e6
commit bea9c5f1ef
3 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@ const TransButton = {
inheritAttrs: false,
props: {
noStyle: PropTypes.bool,
onClick: PropTypes.func,
},
methods: {

View File

@ -11,4 +11,5 @@ export default () => ({
ghost: PropTypes.bool,
block: PropTypes.bool,
icon: PropTypes.any,
onClick: PropTypes.func,
});

View File

@ -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",