mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
子输入框 bug 修复
This commit is contained in:
parent
c5783e201a
commit
ad7b07d080
@ -206,7 +206,7 @@ export default {
|
|||||||
setSubInput(currentCommand) {
|
setSubInput(currentCommand) {
|
||||||
this.fromUtools && utools.setExpendHeight(0);
|
this.fromUtools && utools.setExpendHeight(0);
|
||||||
let matched = specialVars.subinput.match.exec(currentCommand.cmd);
|
let matched = specialVars.subinput.match.exec(currentCommand.cmd);
|
||||||
let placeholder = matched[1]?.slice(1) || "↩ 执行命令,↑↓ 切换历史";
|
let placeholder = matched?.[1]?.slice(1) || "↩ 执行命令,↑↓ 切换历史";
|
||||||
utools.setSubInput(({ text }) => {
|
utools.setSubInput(({ text }) => {
|
||||||
this.subInputValue = text;
|
this.subInputValue = text;
|
||||||
}, placeholder);
|
}, placeholder);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user