改动film源站列表加载方式

This commit is contained in:
buvta
2020-11-06 00:45:46 +08:00
parent 9eed5ce0b7
commit b8d78bab10
2 changed files with 3 additions and 7 deletions

View File

@@ -39,7 +39,7 @@
v-model="scope.row.isActive"
:active-value="1"
:inactive-value="0"
@change='isActiveChangeEvent'>
@change='isActiveChangeEvent(scope.row)'>
</el-switch>
</template>
</el-table-column>

View File

@@ -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()
}
}