ccjgmwz 4 년 전
부모
커밋
56fd4611b9
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      unimall-app/App.vue

+ 6 - 1
unimall-app/App.vue

@@ -25,7 +25,12 @@
 			// #ifdef APP-PLUS
 			var that = this
 			plus.push.getClientInfoAsync((info) => {
-				that.$store.commit('clientId', info.clientid)
+				var name = 'clientId'
+				var value = info.clientid
+				that.$store.commit('$uStore', {
+					name,
+					value
+				});
 			   }, err => {
 			});
 			// #endif