| | |
| | | import router from './router' |
| | | import './styles/global.css' |
| | | import { installSensitiveWords } from './utils/sensitive' |
| | | import { loadDictionary } from './utils/dict' |
| | | |
| | | Vue.use(ElementUI, { size: 'small' }) |
| | | Vue.config.productionTip = false |
| | | |
| | | Vue.prototype.$appName = '临抢修管理系统' |
| | | Vue.prototype.$appName = 'rk_SystemName' |
| | | |
| | | Vue.prototype.$hasPermission = function(code) { |
| | | const raw = sessionStorage.getItem('permissions') |
| | |
| | | } |
| | | }) |
| | | |
| | | new Vue({ |
| | | router, |
| | | render: h => h(App) |
| | | }).$mount('#app') |
| | | loadDictionary().then(() => { |
| | | new Vue({ |
| | | router, |
| | | render: h => h(App) |
| | | }).$mount('#app') |
| | | |
| | | installSensitiveWords() |
| | | installSensitiveWords() |
| | | }) |