Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
🐛 doc不匹配
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jan 22, 2021
1 parent 704947b commit abccf9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ export default {
dmg:'apple',
ipa:'apple',
},
doc:['pdf','doc','docx','ppt','pptx','xls','xlsx'],
categorys:{
image:'file-image',
doc:'file-text',
Expand Down Expand Up @@ -273,7 +274,7 @@ export default {
if (res.meta.code==200) {
this.info=res.data
if(res.data.check_update){
this.checkBackUpdate()
// this.checkBackUpdate()
this.checkWebUpdate()
}
if (res.data.title && res.data.title!="") {
Expand Down Expand Up @@ -399,7 +400,7 @@ export default {
this.file.icon=this.getIcon(file)
this.url=file.download_url
this.show.preview=true
if (file.category=='doc') {
if (this.doc.includes(file.file_extension.toLowerCase())) {
this.showDoc(file)
return
}
Expand Down

2 comments on commit abccf9e

@vercel
Copy link

@vercel vercel bot commented on abccf9e Jan 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

alist-web – ./

alist-web-git-master.xhofe.vercel.app
alist-web.xhofe.vercel.app
alist.now.sh
alist.nn.ci

@vercel
Copy link

@vercel vercel bot commented on abccf9e Jan 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

alist – ./

alist.vercel.app
alist.xhofe.vercel.app
alist-git-master.xhofe.vercel.app

Please sign in to comment.