mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
feature(cloudcmd) improve support of NBSP
This commit is contained in:
parent
e129ab6a79
commit
42c8fd7bfe
8 changed files with 40 additions and 39 deletions
|
|
@ -405,18 +405,15 @@ async function _processFiles(options, data) {
|
|||
panelPassive,
|
||||
} = Info;
|
||||
|
||||
const setCurrent = () => {
|
||||
const currentName = name || data.names[0];
|
||||
DOM.setCurrentByName(currentName);
|
||||
};
|
||||
|
||||
if (!Info.isOnePanel)
|
||||
CloudCmd.refresh({
|
||||
panel: panelPassive,
|
||||
noCurrent: true,
|
||||
});
|
||||
|
||||
CloudCmd.refresh({panel}, setCurrent);
|
||||
CloudCmd.refresh({
|
||||
panel,
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue