This commit is contained in:
@@ -712,6 +712,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
const token = uni.getStorageSync('token');
|
||||||
|
if (!token) {
|
||||||
|
uni.reLaunch({ url: '/pages/login/login' });
|
||||||
|
return;
|
||||||
|
}
|
||||||
initCurrentMonth();
|
initCurrentMonth();
|
||||||
loadAssetInfo();
|
loadAssetInfo();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user