ccjgmwz 4 rokov pred
rodič
commit
56fd4611b9
1 zmenil súbory, kde vykonal 6 pridanie a 1 odobranie
  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