mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
环境为 quiccommand 时不支持在终端输出
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user