App.vue 450 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <div id="app">
  3. <router-view />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: "App",
  9. data() {
  10. return {
  11. // isDesktop: false
  12. };
  13. },
  14. mounted() {
  15. // this.$store.dispatch("getCommonBaseHomeList");
  16. // if (!this.$store.state.isDesktop) {
  17. // this.$request.getWeAppLink().then(res => {
  18. // res.msg && (window.location.href = res.msg);
  19. // });
  20. // }
  21. },
  22. };
  23. </script>
  24. <style>
  25. </style>