Skip to content

Commit

Permalink
perf: update wiki detail ua check
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Oct 10, 2024
1 parent 54eb978 commit 07c2dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/cj/detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default {
const ua = navigator.userAgent;
// 当ua包含 Android 或 iPhone 或 Mobile 时
if (ua.indexOf("Android") > -1 || ua.indexOf("iPhone") > -1 || ua.indexOf("Mobile") > -1) {
if (ua.indexOf("Android") > -1 || ua.indexOf("iPhone") > -1) {
location.href = `/wujie/cj/view/${this.id}`;
}
},
Expand Down

0 comments on commit 07c2dd5

Please sign in to comment.