1
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<el-button @click="fillMan">慢单</el-button>
|
||||
<el-button @click="fillTF">TF</el-button>
|
||||
<el-button @click="fillSheng">生</el-button>
|
||||
<el-button type="success" @click="fillFan">凡</el-button>
|
||||
<el-button type="danger" @click="clearAll">清空</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -66,7 +67,7 @@
|
||||
<div class="history-item-header">
|
||||
<div class="history-time">{{ extractTime(item) }}</div>
|
||||
<el-button
|
||||
size="mini"
|
||||
size="medium"
|
||||
icon="el-icon-document-copy"
|
||||
type="text"
|
||||
@click="copyHistoryItem(item)"
|
||||
@@ -82,7 +83,6 @@
|
||||
<div class="history-column">
|
||||
<div class="history-header">
|
||||
<span>历史响应(最近 {{ historyLimit }} 条)</span>
|
||||
<el-button size="mini" type="success" @click="copyHistory('response')">复制全部</el-button>
|
||||
</div>
|
||||
<div class="history-content">
|
||||
<div v-if="responseHistory.length === 0" class="empty-history">
|
||||
@@ -90,7 +90,18 @@
|
||||
</div>
|
||||
<div v-else class="history-list">
|
||||
<div v-for="(item, idx) in responseHistory" :key="'res-' + idx" class="history-item">
|
||||
<div class="history-item-header">
|
||||
|
||||
<div class="history-time">{{ extractTime(item) }}</div>
|
||||
|
||||
<el-button
|
||||
size="medium"
|
||||
icon="el-icon-document-copy"
|
||||
type="text"
|
||||
@click="copyHistoryItem(item)"
|
||||
title="复制此条消息">
|
||||
</el-button>
|
||||
</div>
|
||||
<div class="history-text">{{ extractMessage(item) }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -216,6 +227,11 @@ export default {
|
||||
},
|
||||
fillSheng() {
|
||||
this.form.command = '生'
|
||||
this.run()
|
||||
},
|
||||
fillFan() {
|
||||
this.form.command = '生\r\nF'
|
||||
this.run()
|
||||
},
|
||||
async fillMan() {
|
||||
// 先尝试查询今天的数据
|
||||
|
||||
Reference in New Issue
Block a user