From 68ba2dfa35789cda9908fc0bc65336dde17a0d29 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 16 七月 2019 23:48:02 +0800 Subject: [PATCH] '2019-07-16' --- src/views/home/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 224098b..6f9ea98 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -28,8 +28,8 @@ } }, watch:{ //鐩戝惉璺敱 - $route(to,from){ - if(to.path == '/postDetails'){ + $route(to, from) { + if (to.path === '/postDetails') { this.isShow = false } } -- Gitblit v1.8.0