Collapse: add active class on el-collapse-item (#9717)

pull/9722/head
杨奕 2018-02-07 21:42:40 +08:00 committed by GitHub
parent 94b091034d
commit cbf033a792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="el-collapse-item"> <div class="el-collapse-item" :class="{'is-active': isActive}">
<div <div
role="tab" role="tab"
:aria-expanded="isActive" :aria-expanded="isActive"