mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-28 20:02:44 +08:00
fix subinput
This commit is contained in:
parent
91719b033a
commit
b463dcebde
@ -140,10 +140,8 @@
|
||||
handleEnter = (event) => {
|
||||
if (event.keyCode == 13) {
|
||||
$("#out").append(`<p style="color: #438eff">>> ${new Date()}</p>`);
|
||||
console.log(cmd);
|
||||
cmd = cmd.replace(new RegExp(rule, 'g'), subinput);
|
||||
console.log(cmd);
|
||||
runQuickCommand(cmd, option, db.output, true);
|
||||
var cmdToRun = cmd.replace(new RegExp(rule, 'g'), subinput);
|
||||
runQuickCommand(cmdToRun, option, db.output, true);
|
||||
}
|
||||
};
|
||||
setSubInput();
|
||||
|
Loading…
x
Reference in New Issue
Block a user