Browse Source

管理库-分页

master
xuhuajiao 2 months ago
parent
commit
7c3ee53b51
  1. 2
      src/views/archivesManage/managementLibrary/mixins/index.js

2
src/views/archivesManage/managementLibrary/mixins/index.js

@ -58,7 +58,7 @@ export const manageLibraryCrud = {
handleSearch(categoryLevel) { handleSearch(categoryLevel) {
const queryResult = this.hasValue(this.query) const queryResult = this.hasValue(this.query)
console.log(queryResult) console.log(queryResult)
if (localStorage.getItem('currentPage') && !queryResult && this.selectStatus.length === 0) {
if (localStorage.getItem('currentPage') && !queryResult && this.selectStatus.length === 0 && this.parentsData.checklist.length === 0) {
this.page.page = parseInt(localStorage.getItem('currentPage')) this.page.page = parseInt(localStorage.getItem('currentPage'))
} else { } else {
this.page.page = 0 this.page.page = 0

Loading…
Cancel
Save