dingxin 5 år sedan
förälder
incheckning
8e34883dc9

+ 1
- 1
config/config.js Visa fil

455
 
455
 
456
   proxy: {
456
   proxy: {
457
     '/api/': {
457
     '/api/': {
458
-      target: 'http://192.168.0.84:8080/',
458
+      target: 'http://localhost:8080//',
459
       changeOrigin: true,
459
       changeOrigin: true,
460
       // pathRewrite: { '^/server': '' },
460
       // pathRewrite: { '^/server': '' },
461
     },
461
     },

+ 1
- 0
src/pages/channel/channelList.jsx Visa fil

109
   const [data, setData] = useState({ channelNmae: [], result: [] })
109
   const [data, setData] = useState({ channelNmae: [], result: [] })
110
   // eslint-disable-next-line react-hooks/rules-of-hooks
110
   // eslint-disable-next-line react-hooks/rules-of-hooks
111
   useEffect(() => {
111
   useEffect(() => {
112
+    localStorage.removeItem('value');
112
     getList({ pageNum: 1, pageSize: 10 })
113
     getList({ pageNum: 1, pageSize: 10 })
113
   }, [])
114
   }, [])
114
 
115
 

+ 3
- 4
src/pages/customer/independentList/index.jsx Visa fil

374
         <>
374
         <>
375
           {
375
           {
376
             <>
376
             <>
377
-              <sapn style={{ color: 'rgba(239,39,58,1)' }}>查看详细</sapn>
377
+              {/* <sapn style={{ color: 'rgba(239,39,58,1)' }}>查看详细</sapn> */}
378
+              <a style={{ color: 'rgba(239,39,58,1)' }} onClick={() => Invite(record)}>邀请经纪人</a>
378
               &nbsp;&nbsp;&nbsp;&nbsp;
379
               &nbsp;&nbsp;&nbsp;&nbsp;
379
-              <sapn style={{ color: 'rgba(239,39,58,1)' }} onClick={() => Invite(record)}>邀请经纪人</sapn>
380
-              &nbsp;&nbsp;&nbsp;&nbsp;
381
-              <sapn style={{ color: 'rgba(239,39,58,1)' }} onClick={() => gM(record)}>推荐客户</sapn>
380
+              <a style={{ color: 'rgba(239,39,58,1)' }} onClick={() => gM(record)}>推荐客户</a>
382
             </>
381
             </>
383
           }
382
           }
384
         </>
383
         </>