xiuli.gao 6 lat temu
rodzic
commit
da4769226a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      shareBooks/wechatAddSuccess.html

+ 2 - 2
shareBooks/wechatAddSuccess.html

@@ -83,7 +83,7 @@
83 83
     	}
84 84
     	if(brr[i].indexOf('avatar') != -1){
85 85
     		avatar = brr[i].split('=')[1];
86
-    		avatar = decodeURI(avatar);
86
+    		avatar = decodeURIComponent(avatar);
87 87
     	}
88 88
     	if(brr[i].indexOf('userName') != -1){
89 89
     		user_name = brr[i].split('=')[1];
@@ -99,7 +99,7 @@
99 99
     	}
100 100
     	if(brr[i].indexOf('appUrl') != -1){
101 101
     		appUrl = brr[i].split('=')[1];
102
-    		appUrl = decodeURI(appUrl);
102
+    		appUrl = decodeURIComponent(appUrl);
103 103
     	}
104 104
    }
105 105