| | |
| | | import topFull from './top-full.vue' |
| | | import topQna from './top-qna.vue' |
| | | import topSetting from '../setting.vue' |
| | | import { logOutFun } from '@/utils/util' |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | cancelButtonText: this.$t('cancelText'), |
| | | type: 'warning', |
| | | }).then(() => { |
| | | this.$store.dispatch('LogOut').then(() => { |
| | | const {VITE_APP_PARENT_SYSTEM,VITE_APP_ENV} = import.meta.env |
| | | const isDev = VITE_APP_ENV === 'development' |
| | | isDev |
| | | ? this.$router.push({ path: '/login' }) |
| | | : window.location.replace(`${VITE_APP_PARENT_SYSTEM}/#/login`) |
| | | }) |
| | | logOutFun() |
| | | }) |
| | | }, |
| | | jumpMH () { |