perf: add checkbox event declar

pull/2805/head
tanjinzhou 2020-09-07 17:19:28 +08:00
parent ec73097d9b
commit 7ec5dac844
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@ const libDir = process.env.LIB_DIR;
const transformIgnorePatterns = [ const transformIgnorePatterns = [
'/dist/', '/dist/',
'node_modules/[^/]+?/(?!(es|node_modules)/)', // Ignore modules without es dir // 'node_modules/[^/]+?/(?!(es|node_modules)/)', // Ignore modules without es dir
]; ];
module.exports = { module.exports = {

View File

@ -23,6 +23,8 @@ export default {
indeterminate: PropTypes.bool, indeterminate: PropTypes.bool,
type: PropTypes.string.def('checkbox'), type: PropTypes.string.def('checkbox'),
autofocus: PropTypes.bool, autofocus: PropTypes.bool,
onChange: PropTypes.func,
'onUpdate:checked': PropTypes.func,
}, },
setup() { setup() {