button添加key值

 <el-button
        type="primary"
        size="mini"
        v-if="
          isxx ||
          isxx ||
          isxx ||
          isxx ||
          isxx ||
          isxx ||
          isxx
        "
        :disabled="isSelected || isSingle"
    
        >我的disable失效了
      </el-button>

添加key值

 <el-button
        type="primary"
        size="mini"
        v-if="
          isxx ||
          isxx ||
          isxx ||
          isxx ||
          isxx ||
          isxx ||
          isxx
        "
        key="生效了"
        :disabled="isSelected || isSingle"
    
        >ok
      </el-button>

Logo

前往低代码交流专区

更多推荐