|
@@ -110,7 +110,7 @@
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: 'none',
|
|
icon: 'none',
|
|
- title: error.msg,
|
|
|
|
|
|
+ title: err.message,
|
|
duration: 2000
|
|
duration: 2000
|
|
})
|
|
})
|
|
})
|
|
})
|
|
@@ -117,7 +117,7 @@
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: 'none',
|
|
icon: 'none',
|
|
- title: error.msg,
|
|
|
|
|
|
+ title: err.message,
|
|
duration: 2000
|
|
duration: 2000
|
|
})
|
|
})
|
|
})
|
|
})
|