add clear button
This commit is contained in:
parent
8b3fe96367
commit
b064072f7d
|
|
@ -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() {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue