|
|
@@ -25,7 +25,7 @@
|
|
|
v-model="stationId"
|
|
|
maxlength="25"
|
|
|
placeholder-class="input-place"
|
|
|
- placeholder="e.g: CHARGE-AC001-1"/>
|
|
|
+ placeholder="e.g: SG-STATIONID-1"/>
|
|
|
</view>
|
|
|
<button
|
|
|
class="button-next button-anim"
|
|
|
@@ -86,7 +86,7 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
- title: "Please enter a valid station id",
|
|
|
+ title: "Please input a valid Station ID",
|
|
|
icon: "none",
|
|
|
duration: 2000
|
|
|
})
|
|
|
@@ -105,11 +105,16 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
- uni.showToast({
|
|
|
+ uni.showModal({
|
|
|
+ title: "Error",
|
|
|
+ content: err,
|
|
|
+ showCancel: false
|
|
|
+ })
|
|
|
+ /*uni.showToast({
|
|
|
title: err,
|
|
|
icon: "none",
|
|
|
duration: 2000
|
|
|
- })
|
|
|
+ })*/
|
|
|
}).finally(() => {
|
|
|
this.loading = false;
|
|
|
});
|