From 70f6146981d42aa5e4be8877df6083aba0229c45 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 25 Jul 2020 21:56:45 +0800 Subject: [PATCH] fix(NoticeBar): add emits --- src/notice-bar/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/notice-bar/index.js b/src/notice-bar/index.js index 945f80586..9b9da8be9 100644 --- a/src/notice-bar/index.js +++ b/src/notice-bar/index.js @@ -26,6 +26,8 @@ export default createComponent({ }, }, + emits: ['click', 'close', 'replay'], + data() { return { show: true,