From 4a07520336df981192eb696939cdc65debbe9caa Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Thu, 10 Sep 2020 21:13:42 +0200 Subject: [PATCH] =?UTF-8?q?=E6=BA=90=E6=9B=B4=E6=96=B0=E6=97=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0Film=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=BA=90=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Film.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Film.vue b/src/components/Film.vue index 36d1ee3..dba06ab 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -187,11 +187,14 @@ export default { searchTxt () { this.searchChangeEvent() }, - 'setting.site': { + 'setting.sitesList': { handler (nv) { - this.getAllsites(nv) + this.getAllsites() }, deep: true + }, + '$store.state.editSites': function () { + this.getAllsites() } }, methods: {