mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
精简代码
This commit is contained in:
parent
5126f414bf
commit
7301e30ca1
@ -45,10 +45,6 @@ utools.onPluginEnter(({ code, type, payload }) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
utools.onPluginOut(_ => {
|
|
||||||
$("#out").text('');
|
|
||||||
})
|
|
||||||
|
|
||||||
function runCmd(cmd, option, codec, output) {
|
function runCmd(cmd, option, codec, output) {
|
||||||
// 不需要输出的,提前关闭窗口
|
// 不需要输出的,提前关闭窗口
|
||||||
if (['ignore', 'clip', 'send'].indexOf(output) !== -1){
|
if (['ignore', 'clip', 'send'].indexOf(output) !== -1){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user