From b8d78bab10b16b17f7ec4720ea2884e1629c6853 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Fri, 6 Nov 2020 00:45:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8A=A8film=E6=BA=90=E7=AB=99?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=8A=A0=E8=BD=BD=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/EditSites.vue | 2 +- src/components/Film.vue | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/EditSites.vue b/src/components/EditSites.vue index 5960f2c..51f0d14 100644 --- a/src/components/EditSites.vue +++ b/src/components/EditSites.vue @@ -39,7 +39,7 @@ v-model="scope.row.isActive" :active-value="1" :inactive-value="0" - @change='isActiveChangeEvent'> + @change='isActiveChangeEvent(scope.row)'> diff --git a/src/components/Film.vue b/src/components/Film.vue index f9ffecd..54a68cf 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -264,9 +264,6 @@ export default { setting () { return this.$store.getters.getSetting }, - sitesList () { - return this.$store.getters.getEditSites.sites // 需要监听的数据 - }, filterSettings () { return this.$store.getters.getSetting.excludeR18Films // 需要监听的数据 } @@ -284,9 +281,6 @@ export default { searchTxt () { this.searchChangeEvent() }, - sitesList () { - this.getAllsites() - }, filterSettings () { this.siteClick(this.site) } @@ -484,6 +478,7 @@ export default { }, changeView () { if (this.view === 'Film') { + this.getAllsites() if (this.setting.view === 'picture') { this.$refs.filmWaterfall.refresh() this.getPage().then(() => { @@ -589,6 +584,7 @@ export default { } }, created () { + this.getAllsites() this.getAllSearch() } }