Skip to content

Commit

Permalink
Bump version to 3.11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangao authored and zhangao committed Apr 1, 2023
1 parent 82f1511 commit 67c5f73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aliyunpan",
"description": "小白羊云盘",
"version": "3.11.2",
"version": "3.11.3",
"main": "dist/electron/main/index.js",
"author": "",
"license": "",
Expand Down
6 changes: 0 additions & 6 deletions src/user/UserLogin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,11 @@ export default defineComponent({
qrCodeStatus.textContent = `二维码状态: ${status} 如果无法跳转,打开以下URL`
qrCodeStatus.appendChild(qrCodeLink);
qrCodeLink.addEventListener('click', async (event) => {
clearInterval(intervalId)
event.preventDefault();
require('electron').shell.openExternal(qrCodeUrl);
while(true) {
const statusResp = await AliHttp.GetWithOutUserId(codeStatusUrl)
if (AliHttp.IsSuccess(statusResp.code) && statusResp.body.status === 'LoginSuccess') {
console.log("二维码状态: 登录成功2")
loginbizExt(msg, statusResp.body.authCode)
break
}
Expand All @@ -128,7 +126,6 @@ export default defineComponent({
}
if (statusResp.body.status === 'LoginSuccess') {
clearInterval(intervalId)
console.log("二维码状态: 登录成功1")
loginbizExt(msg, statusResp.body.authCode)
}
} else {
Expand Down Expand Up @@ -164,7 +161,6 @@ export default defineComponent({
client_secret: '',
client_id: ''
}
console.log("loginbizExt", requestBody)
// 发送请求获取访问令牌
w(data.bizExt).then(async (jsonstr: string) => {
Expand Down Expand Up @@ -223,8 +219,6 @@ export default defineComponent({
device_id: deviceId,
signature: signature
}
console.log('登录成功', tk2)
UserDAL.UserLogin(tk2).then(() => {
useUserStore().userShowLogin = false
if (window.WebClearCookies) window.WebClearCookies({
Expand Down
2 changes: 1 addition & 1 deletion src/utils/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default class Config {
static appVersion = 'v3.11.2'
static appVersion = 'v3.11.3'
static referer = 'https://www.aliyundrive.com/'
static downAgent = 'okhttp/4.2.2'
static userAgent = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) aDrive/4.1.0 Chrome/108.0.5359.215 Electron/22.3.1 Safari/537.36'
Expand Down

0 comments on commit 67c5f73

Please sign in to comment.