forked from opentiny/tiny-vue
Update pc.vue (#1356)
修复控制台警告,chunk-V4VCV3RI.js?v=ca970103:1670 [Vue warn]: Component emitted event "is-disabled" but it is neither declared in the emits option nor as an "onIs-disabled" prop.
This commit is contained in:
parent
62e995eb6e
commit
bafdb6cb9a
|
@ -91,7 +91,7 @@ export default defineComponent({
|
|||
},
|
||||
suffixIcon: Object
|
||||
},
|
||||
emits: ['visible-change', 'item-click', 'button-click', 'menu-item-click', 'handle-click'],
|
||||
emits: ['visible-change', 'item-click', 'button-click', 'menu-item-click', 'is-disabled', 'handle-click'],
|
||||
setup(props, context) {
|
||||
return setup({ props, context, renderless, api, h })
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue