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