张延森 3 лет назад
Родитель
Сommit
b95aef092b
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      config/prod.js
  2. 1
    1
      src/components/tip/index.jsx

+ 1
- 1
config/prod.js Просмотреть файл

@@ -3,7 +3,7 @@ module.exports = {
3 3
     NODE_ENV: '"production"'
4 4
   },
5 5
   defineConstants: {
6
-    HOST: '"https://sgl-v2-test.njyunzhi.com"',
6
+    HOST: '"https://sgl-v2.njyunzhi.com"',
7 7
     OSS: '"yz-shigongli.oss-accelerate.aliyuncs.com"',
8 8
   },
9 9
   mini: {},

+ 1
- 1
src/components/tip/index.jsx Просмотреть файл

@@ -9,7 +9,7 @@ export default (props) => {
9 9
 
10 10
   const [tips, setTips] = useState([])
11 11
   useEffect(() => {
12
-    getTipList(1).then((res) => {
12
+    getTipList({ pageSize: 50 }).then((res) => {
13 13
       setTips(res.records || [])
14 14
     })
15 15
   }, [])