|
@@ -44,8 +44,11 @@ const getSystemInfoFun = async () => {
|
|
|
expired_at: res.data.expired_at
|
|
expired_at: res.data.expired_at
|
|
|
};
|
|
};
|
|
|
platformInformation.updatePlatformAuth(data);
|
|
platformInformation.updatePlatformAuth(data);
|
|
|
- if (data.status / 1 === 0) {
|
|
|
|
|
- console.log(11);
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 0:未激活
|
|
|
|
|
+ * 2: 过期
|
|
|
|
|
+ * */
|
|
|
|
|
+ if (data.status / 1 === 0 || data.status / 1 === 2) {
|
|
|
router.push({
|
|
router.push({
|
|
|
path: '/auth'
|
|
path: '/auth'
|
|
|
});
|
|
});
|