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