傅行帆 5 年之前
父節點
當前提交
d6ecebf8a0
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 2
    2
      config/config.js
  2. 1
    1
      src/pages/system/document/audit.jsx

+ 2
- 2
config/config.js 查看文件

@@ -83,8 +83,8 @@ export default {
83 83
   targets: {
84 84
     ie: 11,
85 85
   },
86
-  publicPath: './',
87
-  // publicPath: 'https://njcjweb.oss-accelerate.aliyuncs.com/admin/',
86
+  // publicPath: './',
87
+  publicPath: 'https://njcjweb.oss-accelerate.aliyuncs.com/admin/',
88 88
   history: 'hash',
89 89
   devtool: isAntDesignProPreview ? 'source-map' : false,
90 90
   // umi routes: https://umijs.org/zh/guide/router.html

+ 1
- 1
src/pages/system/document/audit.jsx 查看文件

@@ -26,7 +26,7 @@ const noauditPass = {
26 26
 function body (props) {
27 27
   const documentVerifyId = props.location.query.id
28 28
   const [data, setData] = useState([])
29
-  const [datas, setDatas] = useState({})
29
+  const [datas, setDatas] = useState({size: 0})
30 30
   // const [status,setStatus] = useState()
31 31
   useEffect(() => {
32 32
     getList()