register.js 283 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 let app = getApp(); Page({ data: {}, onShareAppMessage() {}, onLoad(options) {}, // 子组件事件 evtcomp(evt) { let { name, data } = evt.detail; switch (name) { case "_evt_hide": break; default: break; } }, })