Procházet zdrojové kódy

🐞 fix(杨霄): 有事找杨霄

dev
txb před 1 rokem
rodič
revize
61f2b4493e
3 změnil soubory, kde provedl 7 přidání a 6 odebrání
  1. +6
    -3
      src/app.jsx
  2. +1
    -1
      src/pages/sys/deviceConfig/StockLoc/index.jsx
  3. +0
    -2
      src/pages/sys/sysSettings/components/base.jsx

+ 6
- 3
src/app.jsx Zobrazit soubor

@@ -983,10 +983,13 @@ export const layout = ({ initialState }) => {
// children.pathname = history.location.pathname;
console.log("11111",children);
return (

<TagView children={children} home="/quickStart" current={history.location.pathname}>
{/* <PageContainer>{children}</PageContainer> */}
<>
{initialState?.currentUser && location.pathname !== loginPath ? (
<TagView home="/quickStart" current={history.location.pathname}>
{children}
</TagView>
) : children}
</>
);
},
// 自定义 403 页面


+ 1
- 1
src/pages/sys/deviceConfig/StockLoc/index.jsx Zobrazit soubor

@@ -5,7 +5,7 @@ import { PageContainer, FooterToolbar } from '@ant-design/pro-layout';
import ProTable from '@ant-design/pro-table';
import ProDescriptions from '@ant-design/pro-descriptions';
import CreateForm from './components/CreateForm';
import { Add, Update, Delete, GetPage } from './services';
import { Add, Delete, GetPage } from './services';

const key = 'message';



+ 0
- 2
src/pages/sys/sysSettings/components/base.jsx Zobrazit soubor

@@ -9,8 +9,6 @@ import ProForm, {
ProFormTextArea,
} from '@ant-design/pro-form';
import { useRequest } from 'umi';
import { queryCurrent } from './service';
import { queryProvince, queryCity } from './service';
import styles from './BaseView.less';

const validatorPhone = (rule, value, callback) => {


Načítá se…
Zrušit
Uložit