File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -178,12 +178,13 @@ const auth = new Authing({
178178 clientId: ' your_client_id' ,
179179 timestamp: Math .round (new Date () / 1000 ),
180180 nonce: Math .ceil (Math .random () * Math .pow (10 , 6 )),
181+ enableFetchPhone: true // 启用获取手机号
181182});
182183
183184auth .then (function (authing ) {
184185
185186 authing .startWXAppScaning ({
186- mount: ' qrcode-node' , // 二维码挂载点的 HTML 元素 ID,如不写则默认漂浮在文档中间
187+ mount: ' qrcode-node' , // 二维码挂载点的 HTML 元素 ID,如不写则默认漂浮在文档中间
187188 });
188189
189190})
Original file line number Diff line number Diff line change 11{
22 "name" : " authing-js-sdk" ,
3- "version" : " 2.9.1 " ,
3+ "version" : " 2.10.0 " ,
44 "description" : " Official sdk of Authing" ,
55 "main" : " dist/authing-js-sdk.js" ,
66 "browser" : " dist/authing-js-sdk-browser.min.js" ,
You can’t perform that action at this time.
0 commit comments