| | |
| | | import Search from '@/components/HeaderSearch' |
| | | import RuoYiGit from '@/components/RuoYi/Git' |
| | | import RuoYiDoc from '@/components/RuoYi/Doc' |
| | | import config from '@/../vue.config' |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | type: 'warning' |
| | | }).then(() => { |
| | | this.$store.dispatch('LogOut').then(() => { |
| | | location.href = config.publicPath + 'index'; |
| | | this.$router.push({ path: "/login" }) |
| | | }) |
| | | }).catch(() => {}); |
| | | } |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import config from '@/../package.json' |
| | | |
| | | export default { |
| | | name: "Index", |
| | | data() { |
| | | return { |
| | | // 版本号 |
| | | version: config.version, |
| | | version: "3.2.0", |
| | | }; |
| | | }, |
| | | methods: { |