Kaynağa Gözat

fix 修改bug

yezhihao 3 ay önce
ebeveyn
işleme
bf55ea3273
3 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. 1 1
      common/config.js
  2. 3 3
      manifest.json
  3. 2 2
      pages/my/attachment.vue

+ 1 - 1
common/config.js

@@ -6,7 +6,7 @@ const productionChatUrl = 'wss://www.bosszan.com/wss/chatSocket/'
 const testApiUrl = 'https://yizhizan.edccc.cn/sqx_fast'
 const testWssUrl = 'wss://yizhizan.edccc.cn/wss/websocket/'
 const testChatUrl = 'wss://yizhizan.edccc.cn/wss/chatSocket/'
-let isProduction = false // 判断是否是生产环境
+let isProduction = true // 判断是否是生产环境
 if (isProduction) {
 	//正式环境
 	const ROOTPATH = productionApiUrl;

+ 3 - 3
manifest.json

@@ -2,8 +2,8 @@
     "name" : "亿职赞",
     "appid" : "__UNI__0B0096D",
     "description" : "",
-    "versionName" : "1.2.8",
-    "versionCode" : 128,
+    "versionName" : "1.3.0",
+    "versionCode" : 130,
     "transformPx" : false,
     "sassImplementationName" : "node-sass",
     /* 5+App特有相关 */
@@ -196,7 +196,7 @@
                 "JPUSH_GOOGLE_STORAGE_BUCKET" : "",
                 "JPUSH_HONOR_APPID" : "104533692",
                 "JPUSH_HUAWEI_APPID" : "116155907",
-                "JPUSH_ISPRODUCTION_IOS" : "",
+                "JPUSH_ISPRODUCTION_IOS" : "true",
                 "JPUSH_MEIZU_APPID" : "",
                 "JPUSH_MEIZU_APPKEY" : "",
                 "JPUSH_OPPO_APPID" : "36598376",

+ 2 - 2
pages/my/attachment.vue

@@ -167,9 +167,9 @@ export default {
 		// 获取状态栏高度
 		let systemInfo = uni.getSystemInfoSync();
 		this.statusBarHeight = systemInfo.statusBarHeight || 0;
-
+	},
+	onShow() {
 		this.getUserInfo()
-		// this.avatar = uni.getStorageSync('avatar')
 		this.getWXUploadConfigData()
 	},
 	methods: {