소스 검색

feat: 前端调整

拎壶冲 6 달 전
부모
커밋
478e2e1351
4개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/layout/index.vue
  2. 2 0
      src/utils/request.js
  3. 1 1
      src/views/hl/check/css/style.scss
  4. 1 1
      src/views/risk/r3/css/style.scss

+ 1 - 1
src/layout/index.vue

@@ -32,7 +32,7 @@ const sidebar = computed(() => useAppStore().sidebar);
 const device = computed(() => useAppStore().device);
 const needTagsView = computed(() => settingsStore.tagsView);
 const fixedHeader = computed(() => settingsStore.fixedHeader);
-const layoutHide = computed(() => route.path === "/index");
+const layoutHide = true//computed(() => route.path === "/index");
 
 const classObj = computed(() => ({
   hideSidebar: !sidebar.value.opened,

+ 2 - 0
src/utils/request.js

@@ -12,6 +12,8 @@ let downloadLoadingInstance;
 export let isRelogin = { show: false };
 
 axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
+axios.defaults.headers['Clienttag'] = 'INNET_BROWSE'
+axios.defaults.headers['Currentroute'] = location.pathname
 // 创建axios实例
 const service = axios.create({
   // axios中请求配置有baseURL选项,表示请求URL公共部分

+ 1 - 1
src/views/hl/check/css/style.scss

@@ -2,7 +2,7 @@
 .check-body {
   margin: 0;
   //background-image: linear-gradient(to right bottom,#26a69a,#009688);
-  height:calc(100vh - 84px);
+  height:calc(100vh - 0px);
   overflow: auto;
   @include borderBox();
   padding:10px;

+ 1 - 1
src/views/risk/r3/css/style.scss

@@ -1,6 +1,6 @@
 @import "@/assets/styles/common.scss";
 .state-err{
-  height:calc(100vh - 72px);
+  height:calc(100vh - 0px);
   margin:-10px;
   .state-row{
     height:calc(100% / 2);