修改问题知识库

This commit is contained in:
sunFlower
2022-10-14 16:50:48 +08:00
parent 7c5287ff03
commit 2c6f8f1d5a
2 changed files with 22 additions and 4 deletions
@@ -219,6 +219,17 @@
localStorage.removeItem('serial_number')
}
this.isTrue = true
let BaseQuery = localStorage.getItem('problemknowledgeBase')
if (BaseQuery) {
let content = JSON.parse(BaseQuery)
if (content.id) {
this.isTrue = false
this.$nextTick(() => {
this.$refs.problemKnowledgeBaseListViewRef.getData(JSON.parse(JSON.stringify(content)))
})
}
localStorage.removeItem('problemknowledgeBase')
}
this.getList()
this.replacePage()
},
@@ -351,7 +362,7 @@
pageSize: this.pageSize,
searchStr: this.searchStr,
problemTypes: selectedTags.join(','),
releaseStatus:'Have released'
releaseStatus: 'Have released'
}
this.loading = true
getAction(this.url.getInfoList, query).then((res) => {