浏览代码

Merge branch 'dev' of http://git.ycjcjy.com/shigongli/miniapp-v2 into dev

吃个甘蔗嚼一年 3 年前
父节点
当前提交
11e5310df1
共有 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
   }, [])