解决方案:使用sessionStorage
存数组:sessionStorage.setItem("array", JSON.stringify(this.arr))
取数组:JSON.parse(sessionStorage.getItem("array"))