2017-05-27 68 views

回答

1

你應該把localStorage

var first = localStorage.getItem("first"); 
if(!first){ 
    localStorage.setItem("first", true); 
    alert("welcome!"); 
};