Kaynağa Gözat

删除js设置样式的代码。

YangZhiJie 1 yıl önce
ebeveyn
işleme
458be311ae
2 değiştirilmiş dosya ile 2 ekleme ve 20 silme
  1. 0 1
      src/main.js
  2. 2 19
      src/routes/route-base-v4.js

+ 0 - 1
src/main.js

@@ -67,7 +67,6 @@ const menuColor = {
 //   threeLevelColor: '#6db0ee',
 //   searchInputColor: '#1673c0',
 // }
-localStorage.setItem('menuSetting', JSON.stringify(menuColor))
 
 const app = createApp(App);
 app.use(Antd);

+ 2 - 19
src/routes/route-base-v4.js

@@ -58,9 +58,7 @@ import {
     SamlLogin,
     CasLogin,
     PrinterConfiguration,
-    Window1,
-    TabFormEdit1,
-    TabFormView1,
+    CurdWindow1,
 } from 'client-base-v4/dist/client-base-v4.js';
 
 
@@ -130,22 +128,7 @@ const router = [
 
 
 
-            { path: 'window1/:windowNo', component: Window1 },
-
-            // CRUD编辑窗口
-            // eslint-disable-next-line
-            { path: 'window1/window-edit/:type/:uuid', component: TabFormEdit1 },
-            // eslint-disable-next-line
-            { path: 'window1/window-edit/:type/:windowNo/:tabIndex', component: TabFormEdit1 },
-            // eslint-disable-next-line
-            { path: 'window1/window-edit/:type/:windowNo/:tabIndex/:recordId', component: TabFormEdit1 },
-
-            // CRUD不可编辑窗口
-            // eslint-disable-next-line
-            { path: 'window1/window-read/:type/:uuid', component: TabFormView1 },
-            // eslint-disable-next-line
-            { path: 'window1/window-read/:type/:windowNo/:tabIndex/:recordId', component: TabFormView1 },
-            { path: '/window1/window-read/:type/:windowNo/:tabIndex/:recordId', component: TabFormView1 },
+            { path: 'window1/:windowNo', component: CurdWindow1 },
 
             // 属性编辑窗口
             {