소스 검색

词云token

natasha 1 년 전
부모
커밋
b669fa70e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      public/ciyun/ciyunindex.html

+ 1 - 1
public/ciyun/ciyunindex.html

@@ -399,7 +399,7 @@
         if (end == -1) {
             end = document.cookie.length;
         }
-        var AccessToken = JSON.parse(unescape(document.cookie.substring(start + prefix.length, end))).access_token
+        var AccessToken = JSON.parse(localStorage.getItem('GCLS_Token')).access_token
         arr.forEach((item) => {
             if (item.split("=")[0] == "partitionKey") {
                 partitionKey = item.split("=")[1];