You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							33 lines
						
					
					
						
							755 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							33 lines
						
					
					
						
							755 B
						
					
					
				
								import Vue from 'vue'
							 | 
						|
								import Element from 'element-ui'
							 | 
						|
								import App from '@/App'
							 | 
						|
								import i18n from '@/i18n'
							 | 
						|
								import router from '@/router'
							 | 
						|
								import store from '@/store'
							 | 
						|
								import '@/icons'
							 | 
						|
								import '@/element-ui/theme/index.css'
							 | 
						|
								import '@/assets/scss/aui.scss'
							 | 
						|
								import http from '@/utils/request'
							 | 
						|
								import { hasPermission } from '@/utils'
							 | 
						|
								import cloneDeep from 'lodash/cloneDeep'
							 | 
						|
								
							 | 
						|
								Vue.config.productionTip = false
							 | 
						|
								
							 | 
						|
								Vue.use(Element, {
							 | 
						|
								  size: 'default',
							 | 
						|
								  i18n: (key, value) => i18n.t(key, value)
							 | 
						|
								})
							 | 
						|
								
							 | 
						|
								// 挂载全局
							 | 
						|
								Vue.prototype.$http = http
							 | 
						|
								Vue.prototype.$hasPermission = hasPermission
							 | 
						|
								
							 | 
						|
								// 保存整站vuex本地储存初始状态
							 | 
						|
								window.SITE_CONFIG['storeState'] = cloneDeep(store.state)
							 | 
						|
								
							 | 
						|
								new Vue({
							 | 
						|
								  i18n,
							 | 
						|
								  router,
							 | 
						|
								  store,
							 | 
						|
								  render: h => h(App)
							 | 
						|
								}).$mount('#app')
							 | 
						|
								
							 |