111
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<script>
|
||||
|
||||
|
||||
if (localStorage.getItem('userName')==null){
|
||||
if (localStorage.getItem('userName')){
|
||||
|
||||
var name = localStorage.getItem('userName')
|
||||
// 获取元素引用
|
||||
@@ -58,7 +58,7 @@
|
||||
// // 方法3: 使用textContent
|
||||
// link.textContent = name;
|
||||
|
||||
link.href = "serve.html";
|
||||
link.href = "business.html";
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user