Commit 96a9ded5 authored by 和慭琛's avatar 和慭琛

照片数量BUG修复

parent f928f1a6
...@@ -99,11 +99,12 @@ ...@@ -99,11 +99,12 @@
}else{ }else{
if(this.done_count != this.last_done_count ){ if(this.done_count != this.last_done_count ){
this.last_done_count = this.done_count
console.log('没有拍完 所有数量照片') console.log('没有拍完 所有数量照片')
this.last_done_count = this.done_count
this.current_count = currPage.data.done_count + 1 this.current_count = currPage.data.done_count + 1
this.current_image = this.images[currPage.data.done_count + 1] this.current_image = this.images[currPage.data.done_count]
console.log('没有拍完 所有数量照片 current_count:'+this.current_count)
console.log('没有拍完 所有数量照片 current_image:'+this.current_image)
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: '走线照片 (' + this.current_count + '/'+ this.image_count + ')' title: '走线照片 (' + this.current_count + '/'+ this.image_count + ')'
}) })
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
prevPage.$vm.done_count ++; prevPage.$vm.done_count ++;
uni.navigateBack({ uni.navigateBack({
delta: 2 //delta: 2
}); });
}, },
getSystemInfo() { getSystemInfo() {
......
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