今天用了localStorage.setItem('authenType', this.radio)对authenType对象进行存储 在获取这个值的时候须要注意,存储的是json的string类型 因此须要JSON.parse(localStorage.getItem('authenType'))json