|
@@ -32,7 +32,7 @@
|
|
|
|
|
|
import { fetchContentInfo } from '@/common/api';
|
|
|
import { CONTENT_TYPE, ICON_CFG } from '@/common/EnumConst';
|
|
|
-import { fileIcon, getImageUrl, viewFileFn } from '@/util';
|
|
|
+import { fileIcon, getImageUrl } from '@/util';
|
|
|
|
|
|
let page = 1;
|
|
|
export default {
|
|
@@ -70,7 +70,6 @@ export default {
|
|
|
},
|
|
|
loadmore() {
|
|
|
this.loadStatus = 'loading';
|
|
|
-
|
|
|
fetchContentInfo({
|
|
|
pageNum: 1,
|
|
|
pageSize: 99,
|
|
@@ -96,6 +95,7 @@ export default {
|
|
|
},
|
|
|
onSearch() {
|
|
|
page = 1;
|
|
|
+ this.indexList = [];
|
|
|
this.loadmore();
|
|
|
},
|
|
|
},
|