|
@@ -350,9 +350,9 @@ export default {
|
|
|
this.recoverCreate()
|
|
|
}
|
|
|
},
|
|
|
- recoverCreate() {
|
|
|
+ async recoverCreate() {
|
|
|
this.filters.searchbool = 1
|
|
|
- this.$refs.pushList.doQuery(this.filters)
|
|
|
+ await this.$refs.pushList.doQuery(this.filters)
|
|
|
},
|
|
|
goDetail(item) {
|
|
|
let routeUrl = {}
|
|
@@ -482,12 +482,15 @@ export default {
|
|
|
return this.$route.query.mark === '1'
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ async mounted() {
|
|
|
+ if (!this.isDeleteAllScope) {
|
|
|
+ await this.$store.dispatch('user/getKeywordsList')
|
|
|
+ }
|
|
|
this.changeBusiness([])
|
|
|
- this.recoverCreate()
|
|
|
if (this.isUseCache) {
|
|
|
this.doResetSelectorForCahce()
|
|
|
}
|
|
|
+ await this.recoverCreate()
|
|
|
},
|
|
|
activated() {
|
|
|
this.changeBusiness([])
|
|
@@ -496,15 +499,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async created() {
|
|
|
+ // if (!this.isDeleteAllScope) {
|
|
|
+ // await this.$store.dispatch('user/getKeywordsList')
|
|
|
+ // }
|
|
|
// 从缓存中获取详情页筛选项
|
|
|
if (this.isUseCache) {
|
|
|
this.doResetArticleCacheFilter()
|
|
|
} else {
|
|
|
this.filters.business_scope = this.scope
|
|
|
}
|
|
|
- if (!this.isDeleteAllScope) {
|
|
|
- await this.$store.dispatch('user/getKeywordsList')
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
</script>
|