|
@@ -1,6 +1,6 @@
|
1
|
1
|
|
2
|
2
|
import CustomNav from '@/components/CustomNav'
|
3
|
|
-import { useState, useEffect } from "react";
|
|
3
|
+import { useState } from "react";
|
4
|
4
|
import withLayout from '@/layouts'
|
5
|
5
|
import List from '@/components/List';
|
6
|
6
|
import NoData from '@/components/NoData'
|
|
@@ -12,17 +12,6 @@ export default withLayout((props) => {
|
12
|
12
|
const { router, person, location } = props
|
13
|
13
|
const [collectContent, setCollectContent] = useState([])
|
14
|
14
|
const [queryParams, setQueryParams] = useState({ location: location, pageNum: 1, pageSize: 10 })
|
15
|
|
-
|
16
|
|
- // useEffect(() => {
|
17
|
|
- // getCollectList({
|
18
|
|
- // pageNum: 1,
|
19
|
|
- // pageSize: 99,
|
20
|
|
- // location: location,
|
21
|
|
- // }).then(val => {
|
22
|
|
- // setCollectContent(val.records)
|
23
|
|
- // })
|
24
|
|
- // }, [location])
|
25
|
|
-
|
26
|
15
|
return (
|
27
|
16
|
<view className='page-index box-content'>
|
28
|
17
|
<view className='index-navbar'>
|