shaogen1995 7 months ago
parent
commit
fb1d82a698
2 changed files with 2 additions and 2 deletions
  1. 1 1
      public/index.html
  2. 1 1
      src/components/ZupTypes/index.tsx

+ 1 - 1
public/index.html

@@ -21,7 +21,7 @@
       work correctly both with client-side routing and a non-root public URL.
       Learn how to configure a non-root public URL by running `npm run build`.
     -->
-    <title>刘少奇同志纪念馆线上展厅-管理后台</title>
+    <title>刘少奇同志纪念馆-管理后台</title>
   </head>
   <body>
     <noscript>You need to enable JavaScript to run this app.</noscript>

+ 1 - 1
src/components/ZupTypes/index.tsx

@@ -201,7 +201,7 @@ function ZupTypes(
             if (fileOneType === 'img')
               setFileList({
                 ...fileList,
-                img: [{ ...res.data, imgName: '未命名' }, ...fileList.img]
+                img: [...fileList.img, { ...res.data, imgName: '未命名' }]
               })
             else setFileList({ ...fileList, [fileOneType]: res.data })
           }