mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-09 15:04:06 +08:00
环境为 quiccommand 时不支持在终端输出
This commit is contained in:
parent
e950811e88
commit
b36248c9bc
@ -184,7 +184,7 @@
|
|||||||
color="primary"
|
color="primary"
|
||||||
v-model="currentCommand.output"
|
v-model="currentCommand.output"
|
||||||
:display-value="outputTypes[currentCommand.output].label"
|
:display-value="outputTypes[currentCommand.output].label"
|
||||||
:options="outputTypesOptions"
|
:options="outputTypesOptionsDy"
|
||||||
label="输出"
|
label="输出"
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
@ -272,6 +272,11 @@ export default {
|
|||||||
);
|
);
|
||||||
return x;
|
return x;
|
||||||
},
|
},
|
||||||
|
outputTypesOptionsDy() {
|
||||||
|
return this.$parent.quickcommandInfo.program === "quickcommand"
|
||||||
|
? _.without(this.outputTypesOptions, "terminal")
|
||||||
|
: this.outputTypesOptions;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user