Skip to content

Commit

Permalink
Fix URL Scheme for Android App
Browse files Browse the repository at this point in the history
  • Loading branch information
torta committed Feb 26, 2021
1 parent f67e1b4 commit b5a9b91
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,16 @@
},
methods: {
formatUrl: function formatUrl(item) {
return ~~this.clientVer === 2
? "dmzjsq://dmzj.com/comicReader?comicId=" +
item.id +
"&chapterId=" +
item.last_update_chapter_id
: iOS
? "dmzj://objectIntro/comic?objId=" + item.id
: "dmzj://dmzj.com/comic?id=" + item.id;
return ~~this.clientVer === 2
? iOS
? "dmzjsq://dmzj.com/comicReader?comicId=" +
item.id +
"&chapterId=" +
item.last_update_chapter_id
: "dmzj1://dmzj1.com/comic?id=" + item.id
: iOS
? "dmzj://objectIntro/comic?objId=" + item.id
: "dmzj://dmzj.com/comic?id=" + item.id;
},
loadMore: function loadMore() {
var _items;
Expand Down

0 comments on commit b5a9b91

Please sign in to comment.