mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-30 04:43:48 +00:00
更新
This commit is contained in:
@@ -9,15 +9,6 @@ const glob = {
|
||||
//初始化Axios
|
||||
this.intiAxios();
|
||||
},
|
||||
//读取cookies
|
||||
getCookie(name) {
|
||||
var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
|
||||
if (arr === document.cookie.match(reg)) {
|
||||
return unescape(arr[2]);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
},
|
||||
//返回token
|
||||
getToken() {
|
||||
//token名称
|
||||
|
||||
Reference in New Issue
Block a user