mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
运行命令界面模块化
This commit is contained in:
@@ -1,23 +1,22 @@
|
||||
<template>
|
||||
<div
|
||||
:style="{
|
||||
whiteSpace: 'pre',
|
||||
}"
|
||||
>
|
||||
{{ enterData }}
|
||||
<div>
|
||||
<CommandRunResult :action="action"></CommandRunResult>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import CommandRunResult from "components/CommandRunResult.vue";
|
||||
|
||||
export default {
|
||||
component: { CommandRunResult },
|
||||
data() {
|
||||
return {
|
||||
output: "",
|
||||
enterData: "",
|
||||
action: {
|
||||
type: "fromUtools",
|
||||
data: quickcommand.enterData,
|
||||
},
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.enterData = quickcommand.enterData;
|
||||
},
|
||||
mounted() {},
|
||||
};
|
||||
</script>
|
||||
|
@@ -1,5 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
quickPanel
|
||||
</div>
|
||||
</template>
|
Reference in New Issue
Block a user