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