feat:补充自动化测试所需id
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<time-picker v-if="showTimePicker" ref="timePicker" class="time-picker" @change="dateChange" :default-pick="defaultPick" :show-empty="showEmpty" v-model="this.searchTime"></time-picker>
|
||||
<chart-unit v-model="unit" v-if="useChartUnit"></chart-unit>
|
||||
<div class="nz-btn-group nz-btn-group-size-normal nz-btn-group-light margin-r-20" v-show="useRefresh" style="height: 24px;line-height: 24px;vertical-align: middle;">
|
||||
<button style="border-right: 1px solid rgba(162,162,162,0.50);" type="button" class="nz-btn nz-btn-size-normal nz-btn-style-light" @click="refreshDataFunc">
|
||||
<button style="border-right: 1px solid rgba(162,162,162,0.50);" type="button" class="nz-btn nz-btn-size-normal nz-btn-style-light" @click="refreshDataFunc" :id="id+'-refresh'">
|
||||
<i style="font-size: 14px" class="global-active-color nz-icon nz-icon-refresh"></i>
|
||||
<span class="nz-btn nz-btn-text" ><slot name="added-text"></slot></span>
|
||||
</button>
|
||||
@@ -57,7 +57,8 @@
|
||||
default:true,
|
||||
},
|
||||
defaultPick:Number,
|
||||
showEmpty:{type:Boolean,default:false}
|
||||
showEmpty:{type:Boolean,default:false},
|
||||
id:String
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
|
||||
Reference in New Issue
Block a user