浏览代码

代码提交

yuwenjun 4 年之前
父节点
当前提交
5daa29343c
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      main.js

+ 5 - 5
main.js

@@ -35,7 +35,7 @@ Vue.prototype.$getStorage = function(key){
 /**
  * 友盟+小程序统计
  */
-/*
+
 if(process.env.NODE_ENV != 'development'){
 	// #ifdef MP-WEIXIN
 	uma.init({
@@ -48,13 +48,13 @@ if(process.env.NODE_ENV != 'development'){
 		autoGetOpenid: true,
 		debug: true, //是否打开调试模式
 		uploadUserInfo: false // 自动上传用户信息,设为false取消上传,默认为false
-	});
+	})
 	uma.install = function (Vue) {
-		Vue.prototype.$uma = uma;
+		Vue.prototype.$uma = uma
 	}
-	Vue.use(uma);
+	Vue.use(uma)
 	// #endif
-}*/
+}
 
 // Vue实例化
 Vue.config.productionTip = false