shaogen1995 пре 2 година
родитељ
комит
c4172ace87
3 измењених фајлова са 4 додато и 3 уклоњено
  1. 1 1
      src/pages/Goods/index.tsx
  2. 2 1
      src/pages/Layout/index.tsx
  3. 1 1
      src/pages/Log/index.tsx

+ 1 - 1
src/pages/Goods/index.tsx

@@ -319,7 +319,7 @@ function Goods() {
             <span>名称:</span>
             <Input
               key={inputKey}
-              maxLength={10}
+              maxLength={50}
               style={{ width: 150 }}
               placeholder="请输入关键字"
               allowClear

+ 2 - 1
src/pages/Layout/index.tsx

@@ -10,7 +10,6 @@ import styles from "./index.module.scss";
 import SpinLoding from "@/components/SpinLoding";
 import { Route, Switch, useLocation } from "react-router-dom";
 import AuthRoute from "@/components/AuthRoute";
-import NotFound from "@/components/NotFound";
 import classNames from "classnames";
 import history from "@/utils/history";
 import { Button, Form, Input, Modal, Popconfirm } from "antd";
@@ -29,6 +28,8 @@ import inco3Ac from "@/assets/img/inco3Ac.png";
 import inco4Ac from "@/assets/img/inco4Ac.png";
 import { MessageFu } from "@/utils/message";
 
+const NotFound = React.lazy(() => import("@/components/NotFound"));
+
 function Layout() {
   const dispatch = useDispatch();
 

+ 1 - 1
src/pages/Log/index.tsx

@@ -92,7 +92,7 @@ function Log() {
           <div className="row">
             <span>账号:</span>
             <Input
-              maxLength={10}
+              maxLength={15}
               style={{ width: 150 }}
               placeholder="请输入"
               allowClear