workListItem.js 412 B

1234567891011121314151617181920212223242526272829
  1. // teacher/components/workListItem.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. itemData: {
  8. type: Object
  9. }
  10. },
  11. /**
  12. * 组件的初始数据
  13. */
  14. data: {
  15. },
  16. lifetimes: {
  17. attached() {
  18. // console.log(this.data.itemData)
  19. }
  20. },
  21. /**
  22. * 组件的方法列表
  23. */
  24. methods: {
  25. }
  26. })