今天用了localStorage.setItem('authenType', this.radio)對authenType對象進行存儲 在獲取這個值的時候須要注意,存儲的是json的string類型 因此須要JSON.parse(localStorage.getItem('authenType'))json