packageBookService/pages/bookServices/detail/components/teachResource/index.js
@@ -7,6 +7,10 @@ rejectCause: { type: String, value: '' }, applyResourceLoading: { type: Boolean, value: false, } }, data: { @@ -15,11 +19,11 @@ }, methods: { applyResource() { debugger var myEventDetail = {} // detail对象,提供给事件监听函数 var myEventOption = { bubbles: true, composed: true, // capturePhase: true, } // 触发事件的选项 this.triggerEvent('applyResource', myEventDetail, myEventOption) },