Bläddra i källkod

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

dev
txb 1 år sedan
förälder
incheckning
61f2b4493e
3 ändrade filer med 7 tillägg och 6 borttagningar
  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 Visa fil

@@ -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 Visa fil

@@ -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 Visa fil

@@ -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) => {


Laddar…
Avbryt
Spara