fix缓存问题

This commit is contained in:
limqhz
2021-08-23 13:49:25 +08:00
parent b68ae0cf55
commit ff05088bc3

View File

@@ -227,8 +227,8 @@ export default {
} }
}, },
created() { created() {
this.params.search_eq_v$venueId = this.$route.query.venueId this.form.venueId = this.$route.query.venueId
this.params.search_eq_v$venueType = this.$route.query.venueType this.form.veneuType = this.$route.query.venueType
findByVenueType(2).then(response => { findByVenueType(2).then(response => {
this.coaches = response.coaches this.coaches = response.coaches
}) })
@@ -402,7 +402,7 @@ export default {
handleCreate() { handleCreate() {
this.$router.push({ this.$router.push({
path: '/venue/lesson/edit', path: '/venue/lesson/edit',
query: { venueId: this.params.search_eq_v$venueId, venueType: this.params.search_eq_v$venueType } query: { venueId: this.form.venueId, venueType: this.form.veneuType }
}) })
}, },