perf: button add onClick props
parent
05e34009e6
commit
bea9c5f1ef
|
@ -18,6 +18,7 @@ const TransButton = {
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
props: {
|
props: {
|
||||||
noStyle: PropTypes.bool,
|
noStyle: PropTypes.bool,
|
||||||
|
onClick: PropTypes.func,
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -11,4 +11,5 @@ export default () => ({
|
||||||
ghost: PropTypes.bool,
|
ghost: PropTypes.bool,
|
||||||
block: PropTypes.bool,
|
block: PropTypes.bool,
|
||||||
icon: PropTypes.any,
|
icon: PropTypes.any,
|
||||||
|
onClick: PropTypes.func,
|
||||||
});
|
});
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
"@commitlint/config-conventional": "^8.0.0",
|
"@commitlint/config-conventional": "^8.0.0",
|
||||||
"@octokit/rest": "^16.0.0",
|
"@octokit/rest": "^16.0.0",
|
||||||
"@vue/cli-plugin-eslint": "^4.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/server-test-utils": "1.0.0-beta.16",
|
||||||
"@vue/test-utils": "^2.0.0-beta.0",
|
"@vue/test-utils": "^2.0.0-beta.0",
|
||||||
"acorn": "^7.0.0",
|
"acorn": "^7.0.0",
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
"through2": "^3.0.0",
|
"through2": "^3.0.0",
|
||||||
"typescript": "^3.9.7",
|
"typescript": "^3.9.7",
|
||||||
"url-loader": "^3.0.0",
|
"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-antd-md-loader": "^1.1.0",
|
||||||
"vue-clipboard2": "0.3.1",
|
"vue-clipboard2": "0.3.1",
|
||||||
"vue-draggable-resizable": "^2.1.0",
|
"vue-draggable-resizable": "^2.1.0",
|
||||||
|
|
Loading…
Reference in New Issue