- import Vue from 'vue'
 - import utils from './utils/utils.js'
 - // 移除重复的 uvUI 导入和初始化,已在 main.js 中处理
 - 
 - // 当前环境
 - const type = 'dev'
 - 
 - 
 - // 环境配置
 - const config = {
 - 	local : {
 - 		baseUrl : 'http://127.0.0.1:8001/employ-api',
 - 	},
 - 	dev : {
 - 		baseUrl : 'http://augcl.natapp1.cc/employ-api',
 - 	},
 - 	prod : {
 - 		baseUrl : 'https://houserent-admin.hhlm1688.com/employ-api',
 - 		// baseUrl : 'https://employadmin.augcl.com/employ-api',
 - 	}
 - }
 - 
 - 
 - // 默认配置
 - const defaultConfig = {
 - 	mapKey : 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU',
 - 	aliOss: {
 - 		url: 'https://image.hhlm1688.com/',
 - 		config: {
 - 			//桶的地址
 - 			region: 'oss-cn-guangzhou',
 - 			//id
 - 			accessKeyId: 'LTAI5tQSs47izVy8DLVdwUU9',
 - 			//密钥
 - 			accessKeySecret: 'qHI7C3PaXYZySr84HTToviC71AYlFq',
 - 			//桶的名字
 - 			bucket: 'hanhaiimage',
 - 			endpoint: 'oss-cn-shenzhen.aliyuncs.com',
 - 		}
 - 	},
 - }
 - 
 - 
 - uni.$uv.setConfig({
 - 	config: {
 - 		unit: 'px'
 - 	},
 - })
 - 
 - Vue.prototype.$config = utils.deepMergeObject(defaultConfig, config[type])
 - 
 - 
 - export default Vue.prototype.$config
 
 
  |