张延森 3 år sedan
förälder
incheckning
48378bd817
2 ändrade filer med 5 tillägg och 5 borttagningar
  1. 1
    1
      config/prod.js
  2. 4
    4
      src/pages/video/index.jsx

+ 1
- 1
config/prod.js Visa fil

@@ -10,7 +10,7 @@ module.exports = {
10 10
     OSS_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
11 11
     OSS_FAST_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
12 12
     ICON_FONT: '"https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/css/iconfont.ttf"',
13
-    Version: '"V0.0.88-20211224"'
13
+    Version: '"V0.0.90-20211230"'
14 14
   },
15 15
   mini: {},
16 16
   h5: {

+ 4
- 4
src/pages/video/index.jsx Visa fil

@@ -36,23 +36,23 @@ export default withLayout((props) => {
36 36
   const GetLiveList = (params) => {
37 37
     if (['all'].indexOf(CurrnetMenuId) > -1) {
38 38
       // 全部
39
-      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id }, spin: true }).then((res) => {
39
+      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, pageSize: 999 }, spin: true }).then((res) => {
40 40
         setPageList(res.records || [])
41 41
       })
42 42
     } else if (['new'].indexOf(CurrnetMenuId) > -1) {
43 43
       // 新房
44
-      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, newHouse: true }, spin: true }).then((res) => {
44
+      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, newHouse: true, pageSize: 999 }, spin: true }).then((res) => {
45 45
         setPageList(res.records || [])
46 46
       })
47 47
     } else if (['notice', 'live'].indexOf(CurrnetMenuId) > -1) {
48 48
       // 预告与直播是虽然是同一个接口, 但是返回值字段不一样
49 49
       const process = 'notice' === CurrnetMenuId ? 1 : 2;
50
-      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, process }, spin: true}).then((res) => {
50
+      fetch({ url: API_LIVE_LIST, payload: { ...params, cityId: city.id, process, pageSize: 999 }, spin: true}).then((res) => {
51 51
         setPageList(res.records || [])
52 52
       })
53 53
     } else {
54 54
       // 视频另外一个接口
55
-      fetch({ url: API_VIDEO_LIST, payload: { ...params, cityId: city.id }, spin: true }).then((res) => {
55
+      fetch({ url: API_VIDEO_LIST, payload: { ...params, cityId: city.id, pageSize: 999 }, spin: true }).then((res) => {
56 56
         setPageList(res.records || [])
57 57
       })
58 58
     }