fix:修改版本号以及增加token失效退出登录

This commit is contained in:
lixg
2022-12-02 17:13:18 +08:00
parent faeaf69f27
commit 835f2b9cab
2 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ export default defineComponent({
const store = useStore();
const isLogin = ref(false);
// console.log("router", router.getRoutes(), route);
console.log("版本0.10------------");
console.log("版本0.11------------");
const routes = computed(() => {
return router.getRoutes().filter((e) => e.meta?.isLink);
});
@@ -65,8 +65,8 @@ export default defineComponent({
initDict("projectLevel");
initDict("projectSys");
initDict("pathmapPic");
initDict('projectClass')
initDict('projectPic')
initDict("projectClass");
initDict("projectPic");
getOrgTree();
}

View File

@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com
* @Date: 2022-11-21 14:32:52
* @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2022-12-01 09:02:04
* @LastEditTime: 2022-12-02 17:12:37
* @FilePath: /fe-manage/src/api/config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -53,7 +53,7 @@ http.interceptors.response.use(
return response;
} else {
if (code === 1000) {
// window.open("https://u-pre.boe.com/web/", '_self');
window.open("https://u-pre.boe.com/web/", '_self');
}
console.log("api %o", msg);
}