fix(KIP-7156): 临时停车,在绑定车牌号页面,点击返回按钮,应该返回车辆管理页面
@@ -405,9 +405,10 @@ export default {
Toast({
message: '绑定车牌成功',
onClose: () => {
- this.$router.replace({
- path: `vehicleManagement`,
- });
+ this.$router.back();
+ // this.$router.push({
+ // path: `vehicleManagement`,
+ // });
// this.$router.back();
},
});
@@ -270,7 +270,7 @@ export default {
methods: {
// 添加车牌号
toAdd() {
- this.$router.replace({ path: 'vehicleAddOrEdit' });
+ this.$router.push({ path: 'vehicleAddOrEdit' });
// 跳转支付页面
toPay(carno) {