Skip to content

Commit

Permalink
Bump version to 3.11.19
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangao authored and zhangao committed Aug 4, 2023
1 parent 7653864 commit 06beaf6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xbyyunpan",
"description": "小白羊云盘",
"version": "3.11.17",
"version": "3.11.19",
"license": "MIT",
"main": "dist/electron/main/index.js",
"author": {
Expand Down
3 changes: 3 additions & 0 deletions src/aliapi/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ export default class AliUser {
token.phone = resp.body.phone
token.backup_drive_id = resp.body.backup_drive_id;
token.resource_drive_id = resp.body.resource_drive_id;
if (token.backup_drive_id == '') {
token.backup_drive_id = resp.body.default_drive_id
}
token.is_expires = resp.body.status === 'enabled'
token.name = resp.body.nick_name===''?resp.body.phone:resp.body.nick_name
return true
Expand Down
6 changes: 3 additions & 3 deletions src/resPan/menus/ResPanTopbtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ export default defineComponent({
<a-dropdown trigger="hover" class="rightmenu" position="bl">
<a-button type="text" size="small" tabindex="-1"><i class="iconfont iconplus" />新建<i class="iconfont icondown" /></a-button>
<template #content>
<a-doption value="newfile" title="Ctrl+N" @click="modalCreatNewFile">
<a-doption value="newfile" title="Ctrl+N" @click="modalCreatNewFile('resourcePan')">
<template #icon> <i class="iconfont iconwenjian" /> </template>
<template #default>新建文件</template>
</a-doption>
<a-doption value="newfolder" title="Ctrl+Shift+N" @click="() => modalCreatNewDir('folder')">
<a-doption value="newfolder" title="Ctrl+Shift+N" @click="() => modalCreatNewDir('resourcePan','folder')">
<template #icon> <i class="iconfont iconfile-folder" /> </template>
<template #default>新建文件夹</template>
</a-doption>
<a-doption value="newdatefolder" @click="() => modalCreatNewDir('datefolder')">
<a-doption value="newdatefolder" @click="() => modalCreatNewDir('resourcePan','datefolder')">
<template #icon> <i class="iconfont iconfolderadd" /> </template>
<template #default>日期+序号</template>
</a-doption>
Expand Down
6 changes: 4 additions & 2 deletions src/user/userdal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,10 @@ export default class UserDAL {
PanDAL.aReLoadDrive(token.user_id, token.backup_drive_id)
PanDAL.aReLoadQuickFile(token.user_id)

ResPanDAL.aReLoadDrive(token.user_id, token.resource_drive_id)
ResPanDAL.aReLoadQuickFile(token.user_id)
if (token.resource_drive_id != '') {
ResPanDAL.aReLoadDrive(token.user_id, token.resource_drive_id)
ResPanDAL.aReLoadQuickFile(token.user_id)
}
message.success('加载用户成功!', 2, loadingKey)
}

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 = '3.11.17'
static appVersion = '3.11.19'
static referer = 'https://www.aliyundrive.com/'
static downAgent = 'okhttp/4.2.2'
static downAgent1 = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36'
Expand Down

0 comments on commit 06beaf6

Please sign in to comment.