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