dashboardList.ts 532 Bytes
// components/dashboardList/dashboardList.ts
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    dashboardList:{
      type:Array,
      value:[]
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },
  getChildComponent: function () {
    const child = this.selectComponent('.dashboardListItem')
    // console.log(child,'dashboardListItem')
  },

  /**
   * 组件的方法列表
   */
  methods: {

  },
  ready: function () {
    console.log(this.data,'dashboardList'); // 输出 someValue
  }
})