add clear button

This commit is contained in:
renxiaoyin 2023-02-21 15:02:09 +08:00
parent 8b3fe96367
commit b064072f7d
1 changed files with 9 additions and 0 deletions

View File

@ -80,6 +80,11 @@
<el-button type="primary" @click="onQuerySubmit">Submit</el-button> <el-button type="primary" @click="onQuerySubmit">Submit</el-button>
</div> </div>
</el-col> </el-col>
<el-col :span="12">
<div class="grid-content bg-purple-light">
<el-button type="primary" @click="onClear">Clear</el-button>
</div>
</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col> <el-col>
@ -160,6 +165,10 @@ export default {
onToggle() { onToggle() {
this.$router.push('/perf') this.$router.push('/perf')
}, },
onClear(){
this.processMsgs = [];
},
testBreakPoint() { testBreakPoint() {