Bootstrap 4.1-模式失败,出现“错误:Object.keys:参数不是对象" [英] Bootstrap 4.1 - modal fails with 'Error: Object.keys: argument is not an Object'

查看:126
本文介绍了Bootstrap 4.1-模式失败,出现“错误:Object.keys:参数不是对象"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只需将我们的应用程序从Bootstrap 4.0更新到4.1

Just updated our app from Bootstrap 4.0 to 4.1

现在运行良好的Modals不会启动-例如.

Now Modals, that worked perfectly before, will not launch - e.g.

$('#PopupModalData').modal();

并使用

Error: Object.keys: argument is not an Object

有什么想法吗?

推荐答案

在4.1中似乎存在一个错误(如果模式无法打开,则是一个主要错误)...

It would appear that there is a bug (quite a major one if modals fail to open) in 4.1...

链接到github上的错误报告

它将在4.1.1中修复,但是没有指示何时发布:-(

It will be fixed for 4.1.1, but no indication of when that will be released :-(

这篇关于Bootstrap 4.1-模式失败,出现“错误:Object.keys:参数不是对象"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆