前端JS中session存取数据的方法时间:2025-03-15 20:12:32存储(一般写在mounted里面): [“user_name”] = ; 取(写在方法里面): var username = (“user_name”) 移除: (“user_name”);