diff --git a/.vuepress/public/chat/index.html b/.vuepress/public/chat/index.html
index 8c6a254..319eb61 100644
--- a/.vuepress/public/chat/index.html
+++ b/.vuepress/public/chat/index.html
@@ -130,7 +130,7 @@
if (!getCookie(TOKEN_KEY)) {
let target = '/support/?showLogin=true'
if (data.kuboard) {
- target = '/support/?kuboard-data=' + data.kuboard
+ target = '/support/?kuboard=' + data.kuboard
} else {
window.alert('请先登录')
}
diff --git a/.vuepress/theme/components/OnlineChatLogin.vue b/.vuepress/theme/components/OnlineChatLogin.vue
index 999e211..ed5be8d 100644
--- a/.vuepress/theme/components/OnlineChatLogin.vue
+++ b/.vuepress/theme/components/OnlineChatLogin.vue
@@ -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/'