Commit ced0d462 authored by xhx's avatar xhx

调整

parent e4ee598a
......@@ -97,7 +97,7 @@ export default Vue.extend({
})
},
watch: {
$route(n) {
$route(n: any) {
if (n.path !== '/home') return
const _t = this.swiper1 as any
_t.destroy()
......
......@@ -103,7 +103,7 @@ export default Vue.extend({
this.swiper2 = {}
},
watch: {
$route(n){
$route(n: any){
if (n.path !== '/home') return
const _t = this.swiper2 as any
_t.destroy()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment