console
This commit is contained in:
@@ -35,7 +35,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
console.log(uni.getStorageSync('inx'),'index');
|
||||||
if(uni.getStorageSync('inx')) {
|
if(uni.getStorageSync('inx')) {
|
||||||
|
console.log(uni.getStorageSync('inx'), 'inx');
|
||||||
this.currIndex = uni.getStorageSync('inx')
|
this.currIndex = uni.getStorageSync('inx')
|
||||||
}
|
}
|
||||||
if(this.currIndex == 0) {
|
if(this.currIndex == 0) {
|
||||||
@@ -50,7 +52,7 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onUnload() {
|
onHide() {
|
||||||
uni.removeStorageSync('inx')
|
uni.removeStorageSync('inx')
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
Reference in New Issue
Block a user