为何点了toggle就能够将sider隐藏起来, 并将按钮连接到sider?
$(document).ready(function () { $('[data-toggle="offcanvas"]').click(function () { $('.row-offcanvas').toggleClass('active') });});