bill il y a 8 mois
Parent
commit
989ef1e183

+ 2 - 3
src/api/instance.ts

@@ -37,9 +37,8 @@ const gotoLogin = () => {
       setTimeout(() => location.reload())
     });
   }
-  throw "123";
-  // const loginHref = `http://192.168.0.25/admin/#/login`
-  // location.href = loginHref + '?redirect=' + escape(location.href)
+  const loginHref = `/admin/#/login`
+  location.href = loginHref + '?redirect=' + escape(location.href)
 };
 
 addReqErrorHandler((err) => {

+ 0 - 3
src/assets/style/criminal.css

@@ -1,3 +0,0 @@
-.ant-modal-root .model-header .header-desc span {
-  color: #26559B;
-}

+ 0 - 11
src/assets/style/criminal.less

@@ -1,11 +0,0 @@
-.ant-modal-root {
-  @primary-color: #26559B;
-  @menu-item-active-bg: #E6F7FF;
-  @table-selected-row-bg: #E6F7FF;
-  // .ant-table-tbody > tr.ant-table-row-selected > td {
-  //   background: none;
-  // }
-  .model-header .header-desc span {
-    color: @primary-color;
-  }
-}

+ 0 - 3
src/assets/style/fire.css

@@ -1,3 +0,0 @@
-.ant-modal-root .model-header .header-desc span {
-  color: #D8000A;
-}

+ 0 - 12
src/assets/style/fire.less

@@ -1,12 +0,0 @@
-.ant-modal-root {
-  // @import 'ant-design-vue/dist/antd.less';
-  @primary-color: #D8000A;
-  @menu-item-active-bg: #E6F7FF;
-  @table-selected-row-bg: #E6F7FF;
-  // .ant-table-tbody > tr.ant-table-row-selected > td {
-  //   background: none;
-  // }
-  .model-header .header-desc span {
-    color: @primary-color;
-  }
-}

+ 0 - 5
vite.config.ts

@@ -56,11 +56,6 @@ const proxy = {
     target: `${ip}/mega`,
     changeOrigin: true,
     rewrite: path => path.replace(/^\/swss/, '')
-  },
-  '/laser': {
-    target: ip,
-    changeOrigin: true,
-    rewrite: path => path.replace(/^\/laser/, '/laser')
   }
 }