问答 / 9 / 4 / 创建于 6年前
_category_item.blade.php 中 里面 需要删除 data-toggle="dropdown" 不然菜单无法正常工作.
跟楼主一样,不知道为啥呢
可能是因为某个前端库在课程发布之后升级了导致的,最近我找个时间看看是哪里的问题。
把data-toggle改成data-bs-toggle
主要是前端bootstrap版本不同造成的 课程中用的是bootstrap 4.x版本,目前已经发布到 5.x版本 安装bootstrap的时候,用 npm install bootstrap@^4.6.2
我要举报该,理由是:
推荐文章: