feat: add emits option

This commit is contained in:
chenjiahan
2020-07-06 15:22:33 +08:00
parent 6995bcc8a3
commit 0e4b5a0f2f
9 changed files with 24 additions and 5 deletions
+2
View File
@@ -22,6 +22,8 @@ export default createComponent({
},
},
emits: ['close'],
setup(props, { slots, emit }) {
return function () {
const { type, mark, plain, color, round, size } = props;