cmy 3 月之前
父節點
當前提交
a5e445744c
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      App.vue

+ 5 - 5
App.vue

@@ -27,11 +27,11 @@ export default {
 	onLaunch: function(urlObj) {
 		const that = this;
 		// #ifdef MP
-		// uni.getSystemInfo({
-		// 	success(re) {
-		// 		that.setSystem(re.osName)
-		// 	}
-		// })
+		uni.getSystemInfo({
+			success(re) {
+				that.setSystem(re.osName)
+			}
+		})
 		// #endif
 		const obj = this;
 		// 加载缓存中的用户信息