Skip to content
On this page

不要和v-if连用

正确用法

js
<div v-if="searchParam.status == 10">
  <el-button v-auth="'deliverymanFeeReviewCheck'" @click="onExamine(ids, selectList, isSelected, searchParam, pageable,1)" type="primary">初审</el-button>
</div>

错误用法

js
<el-button v-if="searchParam.status === 10" v-auth="'deliverymanFeeReviewCheck'" @click="onExamine(ids, selectList, isSelected, searchParam, pageable,1)" type="primary">初审</el-button>

Released under the MIT License.