issue-13858.uvue 594 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view>
  3. <list-view>
  4. <list-item>
  5. <Item @itemMounted="itemMounted"></Item>
  6. </list-item>
  7. </list-view>
  8. </view>
  9. </template>
  10. <script>
  11. import Item from './issue-13858-item.uvue'
  12. export default {
  13. data() {
  14. return {
  15. childMountedTriggeredCount: 0
  16. }
  17. },
  18. components: {
  19. Item
  20. },
  21. onLoad() {
  22. },
  23. methods: {
  24. itemMounted() {
  25. this.childMountedTriggeredCount++
  26. }
  27. }
  28. }
  29. </script>
  30. <style>
  31. .title {
  32. text-align: center;
  33. justify-content: center;
  34. align-items: center;
  35. }
  36. </style>