|
@@ -95,6 +95,8 @@ function body(props) {
|
95
|
95
|
|
96
|
96
|
function getList(params) {
|
97
|
97
|
// 网路请求
|
|
98
|
+ setDataSource([])
|
|
99
|
+ setRadio(true)
|
98
|
100
|
request({ ...apis.customer.customerRecommend, params: { ...params } }).then(res => {
|
99
|
101
|
setDataSource(res)
|
100
|
102
|
setRadio(false)
|
|
@@ -175,8 +177,7 @@ function body(props) {
|
175
|
177
|
function radioButtonHandleSizeChange(e) {
|
176
|
178
|
|
177
|
179
|
displayNone()
|
178
|
|
- setDataSource([])
|
179
|
|
- setRadio(true)
|
|
180
|
+
|
180
|
181
|
props.form.resetFields();
|
181
|
182
|
const { value } = e.target
|
182
|
183
|
setCustomerType(value)
|