elementu中el-button按钮的disabled属性不生效,找了原因是因为写在了v-if中,解决方法 (+key)
<template v-if="activeName == '1'">
<el-button type="primary" :disabled="true" key="f" @click="goodrecoverList" >按钮</el-button>
</template>
<template v-if="activeName == '1'">
<el-button type="primary" :disabled="true" key="f" @click="goodrecoverList" >按钮</el-button>
</template>