We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cb8b74 commit 5c14f78Copy full SHA for 5c14f78
1 file changed
src/popup/index.js
@@ -1,5 +1,6 @@
1
import zIndex from '../behaviors/zIndex';
2
import validator from '../behaviors/validator';
3
+import eventUtil from '../core/utils/event-util';
4
5
Component({
6
/**
@@ -101,7 +102,6 @@ Component({
101
102
// 点击事件
103
onPopupTap() {
104
let detail = true;
- let option = {bubbles: true, composed: true};
105
if (this.data.locked !== true) {
106
if (!this.data.show) {
107
this.setData({
@@ -121,7 +121,7 @@ Component({
121
}
122
123
124
- this.triggerEvent('lintap', detail, option);
+ eventUtil.emit(this,'lintap', detail);
125
126
127
});
0 commit comments