Commit d251a140 by MichaelJier

fix

1. 内嵌页判断支持长江云app
parent b8ca43ed
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
return this.$cookie.get(this.tokenKey) ? this.$cookie.get(this.tokenKey).token || 0 : 0 return this.$cookie.get(this.tokenKey) ? this.$cookie.get(this.tokenKey).token || 0 : 0
}, },
isWebview() { isWebview() {
return navigator.userAgent.toLowerCase().includes('webview') return (navigator.userAgent.toLowerCase().includes('webview') || navigator.userAgent.toLowerCase().includes('mediacloudclient'))
} }
}, },
async mounted() { async mounted() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment