dingxin 5 年之前
父節點
當前提交
295835045f
共有 1 個文件被更改,包括 1 次插入10 次删除
  1. 1
    10
      src/pages/channel/recommendClients.jsx

+ 1
- 10
src/pages/channel/recommendClients.jsx 查看文件

@@ -91,15 +91,6 @@ const columns = [
91 91
   },
92 92
 ];
93 93
 
94
-// 跳转到编辑商品
95
-function toEditGoods() {
96
-  router.push({
97
-    pathname: '/channel/addChannel',
98
-    query: {
99
-      a: 'b',
100
-    },
101
-  });
102
-}
103 94
 const header = props => {
104 95
   // eslint-disable-next-line react-hooks/rules-of-hooks
105 96
   const [data, setData] = useState({})
@@ -111,7 +102,7 @@ const header = props => {
111 102
 
112 103
   function getList(params) {
113 104
     request({
114
-      url: '/api/admin/customer/recommend/recommender',
105
+      url: `/api/admin/customer/recommend/${props.location.query.id}`,
115 106
       method: 'GET',
116 107
       params: { ...params },
117 108
   // eslint-disable-next-line no-shadow