url 参数
This commit is contained in:
@@ -121,7 +121,7 @@ export default {
|
||||
},
|
||||
mounted () {
|
||||
// console.log(location)
|
||||
if (location.search === '?showLogin=true' || location.search.indexOf('?kuboard-data=')) {
|
||||
if (location.search === '?showLogin=true' || location.search.indexOf('?kuboard=')) {
|
||||
this.goStandAlone = true
|
||||
this.show()
|
||||
}
|
||||
@@ -173,7 +173,7 @@ export default {
|
||||
this.loginLoading = false
|
||||
console.log(this.goStandAlone)
|
||||
if (this.goStandAlone && typeof window !== 'undefined') {
|
||||
if (location.search.indexOf('?kuboard-data=')) {
|
||||
if (location.search.indexOf('?kuboard=')) {
|
||||
window.location.href = '/chat/' + location.search
|
||||
} else {
|
||||
window.location.href = '/chat/'
|
||||
|
||||
Reference in New Issue
Block a user