mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 06:16:27 +08:00
修复代码片段summary显示错误的bug
This commit is contained in:
parent
8284895f2e
commit
504121166d
@ -281,7 +281,9 @@ export default defineComponent({
|
||||
)}${replaceStr}, ${stringifyArgv(options)})`;
|
||||
},
|
||||
getSummary(argvs) {
|
||||
return `运行${argvs.language}代码`;
|
||||
return this.isCodeSnippet
|
||||
? `${argvs.language}代码片段`
|
||||
: `运行${argvs.language}代码`;
|
||||
},
|
||||
updateArgvs(key, value) {
|
||||
const newArgvs = { ...this.argvs, [key]: value };
|
||||
|
Loading…
x
Reference in New Issue
Block a user