Commit 3e720d88 authored by martin hou's avatar martin hou

fix: 取消对文件数量读取的限制

parent e94316b4
...@@ -689,10 +689,8 @@ Jensen.prototype.listFiles = async function () { ...@@ -689,10 +689,8 @@ Jensen.prototype.listFiles = async function () {
if (this[tag] != null) return null; if (this[tag] != null) return null;
let fc = null; let fc = null;
if (typeof this.versionNumber == 'undefined' || this.versionNumber <= 327722) {
fc = await this.getFileCount(5); fc = await this.getFileCount(5);
if (fc == null) return []; // if (fc == null) return [];
}
if (fc && fc.count == 0) return []; if (fc && fc.count == 0) return [];
console.log('file count: ' + fc); console.log('file count: ' + fc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment