About.vue 599 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <div class="about">
  3. <h1 @click="showDialog">This is an about page</h1>
  4. <HealthReport :show="show" @closed="(res) => { this.show=false; }" />
  5. <!-- <list-bar-chart /> -->
  6. </div>
  7. </template>
  8. <script>
  9. // import ListBarChart from "../components/chart/bar/list-bar-chart.vue";
  10. import HealthReport from "@com/other/healthReport/index.vue";
  11. // 导入header.vue文件
  12. export default {
  13. data () {
  14. return {
  15. show: false
  16. }
  17. },
  18. components: {
  19. // ListBarChart,
  20. HealthReport
  21. },
  22. methods: {
  23. showDialog () {
  24. this.show = true;
  25. }
  26. }
  27. };
  28. </script>