|
@@ -30,7 +30,7 @@ export default (props) => {
|
30
|
30
|
|
31
|
31
|
useEffect(() => {
|
32
|
32
|
setValueList(travelMine?.records)
|
33
|
|
- setTraveCoumun(travelMine?.records[0].dayNum)
|
|
33
|
+ setTraveCoumun(travelMine?.records[0]?.dayNum)
|
34
|
34
|
}, [travelMine?.records, item])
|
35
|
35
|
|
36
|
36
|
const onClose = () => {
|
|
@@ -82,7 +82,7 @@ export default (props) => {
|
82
|
82
|
Taro.showToast({
|
83
|
83
|
title: '暂无行程,已自动创建',
|
84
|
84
|
icon: 'none',
|
85
|
|
- duration: 3000
|
|
85
|
+ duration: 1000
|
86
|
86
|
})
|
87
|
87
|
|
88
|
88
|
newTravelMine({ title: `我的行程 ${y}-${m}-${d}` }).then(res => {
|