Commit 5bf06eaf authored by wangqinghua's avatar wangqinghua

color

parent c90bf0cb
...@@ -34,10 +34,10 @@ export class EditPage { ...@@ -34,10 +34,10 @@ export class EditPage {
ionViewDidEnter() { ionViewDidEnter() {
this.temp = this.navParams.get('temp'); this.temp = this.navParams.get('temp');
this.getDetail(); this.getDetail();
const index = this.navCtrl.length(); const length = this.navCtrl.length();
console.log(this.navCtrl.getViews()); if(length > 5){
console.log('长度:' +index); this.navCtrl.remove(3, length-4);
// this.navCtrl.remove(3, index); }
} }
......
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