<div class="ku-menu-item-group active" @click="clickFold"></div>
clickFold: function (e) {
e = e || window.event;
let isActive = e.currentTarget.getAttribute("class").includes("active");
console.log("isActive----------------",isActive);
}
网友评论