Commit af92bcbb authored by martin hou's avatar martin hou

fix: 取消trigger

parent 2604a515
...@@ -685,7 +685,7 @@ Jensen.prototype.listFiles = async function () { ...@@ -685,7 +685,7 @@ Jensen.prototype.listFiles = async function () {
{ {
console.log('remove tag1: ' + tag); console.log('remove tag1: ' + tag);
jensen[tag] = null; jensen[tag] = null;
jensen._trigger([], QUERY_FILE_LIST); // jensen._trigger([], QUERY_FILE_LIST);
return []; return [];
} }
if (jensen[tag] == null) if (jensen[tag] == null)
...@@ -801,7 +801,7 @@ Jensen.prototype.listFiles = async function () { ...@@ -801,7 +801,7 @@ Jensen.prototype.listFiles = async function () {
jensen[kv] = window.setTimeout(() => { jensen[kv] = window.setTimeout(() => {
console.log('remove tag: ' + tag); console.log('remove tag: ' + tag);
jensen[tag] = null; jensen[tag] = null;
jensen._trigger(files.filter((f) => { return Boolean(f.time); }), QUERY_FILE_LIST); // jensen._trigger(files.filter((f) => { return Boolean(f.time); }), QUERY_FILE_LIST);
console.log('jensen', 'list-files', 'timed return'); console.log('jensen', 'list-files', 'timed return');
}, 1000); }, 1000);
}); });
......
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