Closed hz0ne closed 4 years ago
Please use our editor for examples!
Please use our editor for examples!
well, the vue example, the editor not working, I write html with flask-bootstrap, and js script to generate html
@dhxsy1994
It is field
, you wrote it as filed
.
https://examples.bootstrap-table.com/#column-options/field.html
是 field
, 你写成了 filed
。
Description
按照官网的数据设置测试数据
以下为html页面:
json数据: [{"id": "123", "cluster_name": "all", "package_type": "pip", "package_name": "numpy", "package_version": "1x.xx", "commiter_name": "test" },{ "id": "124", "cluster_name": "all", "package_type": "pip", "package_name": "numpy", "package_version": "1x.xx", "commiter_name": "test2" },{ "id": "125", "cluster_name": "all", "package_type": "pip", "package_name": "numpy", "package_version": "1x.xx", "commiter_name": "tesx" },{ "id": "126", "cluster_name": "all", "package_type": "pip", "package_name": "numpy", "package_version": "1x.xx", "commiter_name": "test" },{ "id": "127", "cluster_name": "all", "package_type": "pip", "package_name": "numpy", "package_version": "1x.xx", "commiter_name": "test" },{ "id": "128", "cluster_name": "all", "package_type": "pip", "package_name": "numpy", "package_version": "1x.xx", "commiter_name": "test" }
]
现在显示是不正确的,从渲染F12看是-这个字符,但是console是正确的json数据,不知道问题出在哪 我是使用bootstrap-flask的,加载的bootstrap版本4.3,jquery3.4版本 使用bootstraptable17.1 15.4都是同样的情况,浏览器无缓存 Example (optional)