Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1788/head
zouap 3 years ago
parent
commit
14036426fc
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      public/home/search.js

+ 9
- 0
public/home/search.js View File

@@ -1,3 +1,12 @@
var token;
if(isEmpty(token)){
var meta = $("meta[name=_uid]");
if(!isEmpty(meta)){
token = meta.attr("content");
console.log("token is uid:" + token);
}
}

var html =document.documentElement; var html =document.documentElement;
var lang = html.attributes["lang"] var lang = html.attributes["lang"]
var isZh = true; var isZh = true;


Loading…
Cancel
Save