闫增涛
2024-03-21 b273028fde3178d2643312c66d943b12f2c1bfad
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)
    },