我只是试图
RangeError:超出最大调用堆栈大小 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:163:2) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18) 在deepClone(C:\ Users \ Adir \ MyApps \ ToDoApp \ node_modules \ rollup \ dist \ rollup.js:165:18)
这是我的adminPage,这个页面出问题
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import {Storage,LocalStorage} from 'ionic-angular';
/*
Generated class for the Admin page.
See http://ionicframework.com/docs/v2/components/#navigation for more info on
Ionic pages and navigation.
*/
@Component({
selector: 'page-admin',
templateUrl: 'admin.html'
})
export class AdminPage {
data: any;
local: Storage = new Storage(LocalStorage);
public getsession:any;
constructor(public navCtrl: NavController) {
this.data={};
this.data.title="";
this.data.desc="";
this.local=new Storage(LocalStorage);
this.local.set('session','true');
this.getsession=this.local.get('session');
this.getsession.then((value)=>{
let x=value;
console.log(x);
})
}
ionViewDidLoad() {
}
}