Commit f4dd09a6 by 杨明

fixed

1 parent 3105b5ac
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
if (path == '/home/aiCall') { if (path == '/home/aiCall') {
const userName = this.$globalState.session.userName, const userName = this.$globalState.session.userName,
ai_user = localStorage.getItem('isClick_AI_USER') ai_user = localStorage.getItem('isClick_AI_USER')
if (!ai_user.includes(userName)) { if (!(ai_user && ai_user.includes(userName))) {
this.dialogVisible = true this.dialogVisible = true
localStorage.setItem('isClick_AI_USER', ai_user + ',' + userName) localStorage.setItem('isClick_AI_USER', ai_user + ',' + userName)
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!