Commit 5bf06eaf authored by wangqinghua's avatar wangqinghua

color

parent c90bf0cb
......@@ -34,10 +34,10 @@ export class EditPage {
ionViewDidEnter() {
this.temp = this.navParams.get('temp');
this.getDetail();
const index = this.navCtrl.length();
console.log(this.navCtrl.getViews());
console.log('长度:' +index);
// this.navCtrl.remove(3, index);
const length = this.navCtrl.length();
if(length > 5){
this.navCtrl.remove(3, length-4);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment