<el-cascader
:disabled="isView"
:options="businessMission"
:show-all-levels="false"
v-model="item.selection"
:props="defaultData"
@change="val => {missionchangeHandle(val, index);}">
<template slot-scope="{node,data}">
<template v-if="!node.isLeaf">
<span class="tag" v-if="data.id==30" v-auth:TravelExpense[Month]>{{data.evectionName}}</span>
<span class="tag" v-if="data.id==0" v-auth:TravelExpense[All]>{{data.evectionName}}</span>
</template>
<span v-else class="aaa">{{data.evectionName}}</span>
</template>
</el-cascader>
elementui 级联选择器 slot方式
最新推荐文章于 2024-08-02 10:45:52 发布