App.vue 758 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <div id="app">
  3. <router-view />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'App',
  9. metaInfo () {
  10. return {
  11. title:this.title,
  12. meta:[{
  13. charset: "utf-8"
  14. },
  15. {
  16. name: "viewport",
  17. content: "width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
  18. }]
  19. }
  20. },
  21. data() {
  22. return {
  23. title:"",
  24. }
  25. },
  26. mounted() {
  27. setTimeout(() => {
  28. this.title = '全域视联平台'
  29. }, 2000)
  30. },
  31. }
  32. </script>