Commit cefd36fb authored by 李俊赕's avatar 李俊赕

edit

parent e3a33888
...@@ -121,10 +121,13 @@ ...@@ -121,10 +121,13 @@
}) })
}, },
finishPhoto(){ finishPhoto(){
const photo = getApp().globalData.photo
photo.currentItemLength = 10
this.continuePhoto()
// 完成本项 // 完成本项
uni.navigateBack({ // uni.navigateBack({
delta:2 // delta:2
}) // })
}, },
// 确认图片 // 确认图片
continuePhoto() { continuePhoto() {
...@@ -156,7 +159,7 @@ ...@@ -156,7 +159,7 @@
let timer = setTimeout(()=>{ let timer = setTimeout(()=>{
if(photo.currentItemLength<10){ if(photo.currentItemLength<10){
uni.navigateBack({ uni.navigateBack({
delta:1 delta:2
}) })
}else{ }else{
uni.redirectTo({ uni.redirectTo({
......
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