This commit is contained in:
曹辉 2023-04-19 15:46:06 +08:00
parent b4dc4ba81b
commit 3416fec76c

View File

@ -127,7 +127,6 @@
parentList: {},
}
},
onShow() {
let that = this;
this.studentId = uni.getStorageSync('studentId');
@ -154,13 +153,7 @@
},
fail: function(err) {}
});
}
},
methods: {
goindex() {
@ -175,20 +168,7 @@
this.studentInfoList = res.data.studentInfoList;
this.kindergartenInfoList = res.data.kindergartenInfoList;
this.parentList = res.data;
// var obj = []
// res.data.studentInfoList.forEach(e => {
// obj.push(e.studentId)
// })
// uni.setStorageSync("studentId", obj)
// that.login = true
// that.stuinfos = true
// that.tip = false
// that.top2 = true
// that.top = false
// this.mask = true;
} else {
}
} else {}
})
},
@ -197,11 +177,6 @@
const value = uni.getStorageSync('phone');
const value2 = uni.getStorageSync('studentId');
if (value && value2) {
// uni.showModal({
// title: '',
// content: '退',
// success: function(res) {
// if (res.confirm) {
uni.removeStorageSync('phone');
uni.removeStorageSync('openid');
uni.removeStorageSync('studentId');
@ -219,14 +194,8 @@
url: '/pages/homepage/homepage'
})
}, 1000)
// }
// }
// });
}
},
}
}
</script>