|
@@ -49,7 +49,6 @@ export default withLayout((props) => {
|
49
|
49
|
}
|
50
|
50
|
|
51
|
51
|
const handleSubmit = (e) => {
|
52
|
|
- console.log("🚀 ~ file: index.jsx ~ line 84 ~ handleSubmit ~ e", e)
|
53
|
52
|
|
54
|
53
|
const payload = {
|
55
|
54
|
id,
|
|
@@ -69,11 +68,9 @@ export default withLayout((props) => {
|
69
|
68
|
},
|
70
|
69
|
|
71
|
70
|
}
|
72
|
|
- console.log("🚀 ~ file: index.jsx ~ line 55 ~ handleSubmit ~ payload", payload)
|
73
|
71
|
|
74
|
72
|
setLoading(true)
|
75
|
73
|
fetch({ url: API_MARKETING_VISIT, payload, method: 'PUT' }).then((res) => {
|
76
|
|
- console.log("🚀 ~ file: index.jsx ~ line 76 ~ fetch ~ res", res)
|
77
|
74
|
setLoading(false)
|
78
|
75
|
Taro.showToast({
|
79
|
76
|
title: '操作成功',
|