| | |
| | | import { modifyTabview, toggleIsiframe } from '@/store/action' |
| | | import asyncComponent from '@/utils/asyncLoadComponent' |
| | | import NotFount from '@/components/404' |
| | | // import options from '@/store/options.js' |
| | | import options from '@/store/options.js' |
| | | import mzhCN from '@/locales/zh-CN/main.js' |
| | | import menUS from '@/locales/en-US/main.js' |
| | | import MKEmitter from '@/utils/events.js' |
| | | |
| | | import Api from '@/api' |
| | | import './index.scss' |
| | | |
| | | const Home = asyncComponent(() => import('@/tabviews/home')) |
| | |
| | | e.stopPropagation() |
| | | window.GLOB.CacheMap = new Map() |
| | | |
| | | MKEmitter.emit('reloadMenuView', menu.MenuID) |
| | | if (options.sysType === 'local' && window.GLOB.systemType !== 'production') { |
| | | Api.getAppVersion().then(() => { |
| | | MKEmitter.emit('reloadMenuView', menu.MenuID) |
| | | }, () => { |
| | | MKEmitter.emit('reloadMenuView', menu.MenuID) |
| | | }) |
| | | } else { |
| | | MKEmitter.emit('reloadMenuView', menu.MenuID) |
| | | } |
| | | } |
| | | |
| | | changeTab = (e, menu) => { |