Commit 2604a515 authored by martin hou's avatar martin hou

fix: 增加跟踪

parent c0da6d2b
......@@ -681,9 +681,11 @@ Jensen.prototype.listFiles = async function () {
this[tag] = [];
this.registerHandler(QUERY_FILE_LIST, (msg, jensen) => {
console.log('tag', tag);
if (msg.body.length == 0) {
console.log('remove tag: ' + tag);
if (msg.body.length == 0)
{
console.log('remove tag1: ' + tag);
jensen[tag] = null;
jensen._trigger([], QUERY_FILE_LIST);
return [];
}
if (jensen[tag] == null)
......
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