农经大屏
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122232425262728293031323334353637
  1. import Pannel from '@/components/pannelNew/index.vue';
  2. import Pie from '@/components/charts/pie/index.vue';
  3. export default {
  4. components: {
  5. Pie,
  6. Pannel
  7. },
  8. props: {
  9. data: {
  10. type: Array,
  11. default: function () {
  12. return []
  13. }
  14. },
  15. countNum: {
  16. type: Number,
  17. default: 0
  18. }
  19. },
  20. data () {
  21. return {
  22. tabIndex: '1'
  23. };
  24. },
  25. created () {
  26. },
  27. mounted () {
  28. console.log(this.countNum)
  29. },
  30. methods: {
  31. tabChange (info) {
  32. //console.log(info);
  33. this.tabIndex = info.id
  34. }
  35. }
  36. };