liyongli 3 years ago
parent
commit
d79154c5af
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/views/Apply.vue
  2. 1 1
      src/views/Appointment.vue

+ 2 - 2
src/views/Apply.vue

@@ -251,7 +251,7 @@ export default {
       ]);
     },
     toAppointment() {
-      this.$router.replace({
+      this.$router.push({
         name: "Appointment",
         query: {
           userName: this.username,
@@ -272,7 +272,7 @@ export default {
         goodsId: this.radio,
         orderTime: this.date + ":00",
       }).then(() => {
-        this.$router.replace({
+        this.$router.push({
           name: "Appointment",
           query: {
             userName: this.username,

+ 1 - 1
src/views/Appointment.vue

@@ -126,7 +126,7 @@ export default {
   computed: {},
   methods: {
     toAppointment() {
-      this.$router.replace({
+      this.$router.push({
         name: "Apply",
         params: { name: this.name, phone: this.phone },
       });