zzw
12 小时以前 3edc06d8b1e2449be45dbaa552f635eee72d1519
emergency-repair-web/src/main.js
@@ -5,11 +5,12 @@
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')
@@ -31,9 +32,11 @@
  }
})
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
loadDictionary().then(() => {
  new Vue({
    router,
    render: h => h(App)
  }).$mount('#app')
installSensitiveWords()
  installSensitiveWords()
})