You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
726 B

5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
  1. <template>
  2. <div class="mod-home">
  3. <h3>旭捷</h3>
  4. <ul>
  5. <li><h3>欢迎:{{userName}}!!!</h3></li>
  6. </ul>
  7. </div>
  8. </template>
  9. <script>
  10. export default {
  11. methods: {
  12. languageRefresh(){
  13. console.log("欢迎使用 旭捷管理系统!!!")
  14. }
  15. },
  16. computed: {
  17. userName: {
  18. get() {
  19. return this.$store.state.user.name
  20. }
  21. },
  22. mainTabs: {
  23. get() {
  24. return this.$store.state.common.mainTabs
  25. },
  26. set(val) {
  27. this.$store.commit('common/updateMainTabs', val)
  28. }
  29. }
  30. },
  31. beforeMount() {
  32. this.languageRefresh()
  33. }
  34. }
  35. </script>
  36. <style>
  37. .mod-home {
  38. line-height: 1.5;
  39. }
  40. </style>