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.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							440 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							440 B
						
					
					
				
								import Vue from 'vue'
							 | 
						|
								import App from './App'
							 | 
						|
								import uView from '@/uni_modules/uview-ui'
							 | 
						|
								import mixin from '@/common/mixin.js';
							 | 
						|
								
							 | 
						|
								Vue.config.productionTip = false;
							 | 
						|
								App.mpType = 'app'
							 | 
						|
								
							 | 
						|
								Vue.mixin(mixin);
							 | 
						|
								Vue.use(uView);
							 | 
						|
								
							 | 
						|
								// 线上模式禁用 console.log
							 | 
						|
								if(process.env.NODE_ENV === 'production') console.log = () => {};
							 | 
						|
								
							 | 
						|
								const app = new Vue({
							 | 
						|
								    ...App
							 | 
						|
								});
							 | 
						|
								
							 | 
						|
								// 引入http拦截器
							 | 
						|
								require('@/common/http.interceptor.js')(app);
							 | 
						|
								
							 | 
						|
								app.$mount();
							 |