Commit ac8f3727 by 刘泽奇

123

parent b994c53f
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
created: function() { created: function() {
document.cookie.split('; ').map((item, index) => { document.cookie.split('; ').map((item, index) => {
if (item.includes('pin=')) { if (item.includes('pin=')) {
this.user_Name = item.substring(4); this.user_Name = encodeURIComponent(item.substring(4));
} }
}); });
this.getChannelFrom(); this.getChannelFrom();
......
...@@ -391,7 +391,7 @@ ...@@ -391,7 +391,7 @@
} }
document.cookie.split('; ').map((item, index) => { document.cookie.split('; ').map((item, index) => {
if (item.includes('pin=')) { if (item.includes('pin=')) {
this.user_Name = item.substring(4); this.user_Name = encodeURIComponent(item.substring(4));
} }
}); });
this.getChannelFrom(); this.getChannelFrom();
......
...@@ -450,7 +450,7 @@ ...@@ -450,7 +450,7 @@
} }
document.cookie.split('; ').map((item, index) => { document.cookie.split('; ').map((item, index) => {
if (item.includes('pin=')) { if (item.includes('pin=')) {
this.user_Name = item.substring(4); this.user_Name = encodeURIComponent(item.substring(4));
} }
}); });
this.getChannelFrom(); this.getChannelFrom();
......
...@@ -391,7 +391,7 @@ ...@@ -391,7 +391,7 @@
} }
document.cookie.split('; ').map((item, index) => { document.cookie.split('; ').map((item, index) => {
if (item.includes('pin=')) { if (item.includes('pin=')) {
this.user_Name = item.substring(4); this.user_Name = encodeURIComponent(item.substring(4));
} }
}); });
this.getChannelFrom(); this.getChannelFrom();
......
...@@ -453,8 +453,9 @@ ...@@ -453,8 +453,9 @@
} }
document.cookie.split('; ').map((item, index) => { document.cookie.split('; ').map((item, index) => {
if (item.includes('pin=')) { if (item.includes('pin=')) {
this.user_Name = item.substring(4); this.user_Name = encodeURIComponent(item.substring(4));
} }
}); });
}, },
mounted: function() { mounted: function() {
......
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 to comment