diff --git a/src/App.vue b/src/App.vue
index 67e8c983..47d17687 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -41,7 +41,7 @@ export default defineComponent({
const store = useStore();
const isLogin = ref(false);
// console.log("router", router.getRoutes(), route);
- console.log("版本0.01------------");
+ console.log("版本0.02------------");
const routes = computed(() => {
return router.getRoutes().filter((e) => e.meta?.isLink);
});
diff --git a/src/api/config.js b/src/api/config.js
index a179d241..cb3f4696 100644
--- a/src/api/config.js
+++ b/src/api/config.js
@@ -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-11-29 13:07:24
+ * @LastEditTime: 2022-11-29 13:44:40
* @FilePath: /fe-manage/src/api/config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -52,7 +52,10 @@ http.interceptors.response.use(
if (code === 0 || code === 200) {
return response;
} else {
- window.open("https://u-pre.boe.com/web/", '_self');
+ 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);
}
return response;
diff --git a/src/views/projectcenter/LibraryAdd.vue b/src/views/projectcenter/LibraryAdd.vue
index 3a68a7b1..fce4e00f 100644
--- a/src/views/projectcenter/LibraryAdd.vue
+++ b/src/views/projectcenter/LibraryAdd.vue
@@ -5,11 +5,12 @@