mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
运行命令界面
This commit is contained in:
@@ -29,7 +29,10 @@
|
||||
</div>
|
||||
<div v-else>
|
||||
<q-card>
|
||||
{{ action.data }}
|
||||
<pre
|
||||
:class="runResultStatus ? '' : 'text-red'"
|
||||
v-html="runResult"
|
||||
></pre>
|
||||
</q-card>
|
||||
</div>
|
||||
</div>
|
||||
@@ -48,6 +51,9 @@ export default {
|
||||
props: {
|
||||
action: Object,
|
||||
},
|
||||
mounted() {
|
||||
window.runResult = this;
|
||||
},
|
||||
methods: {
|
||||
// 运行命令
|
||||
async runCurrentCommand(currentCommand) {
|
||||
|
Reference in New Issue
Block a user