How to solve the garbled problem of bootstrap table

藏色散人
Release: 2020-11-17 18:17:37
Original
3647 people have browsed it

Solution to garbled bootstrap table: 1. Use "

How to solve the garbled problem of bootstrap table

Recommended: "bootstrap tutorial"

Solution to the problem that the bootstrap-table page displays Chinese Garbled characters

When using bootstrp-table, Chinese garbled characters appear on the page, as follows

How to solve the garbled problem of bootstrap table

I searched online for a long time but could not solve it. Finally, I found that it was imported Chinese. The package does not take effect, and the compressed version (with the min keyword) cannot be imported

<script src="../js/bootstrap-table/bootstrap-table-zh-CN.min.js</script>
Copy after login

The problem is solved after replacing it with the original version. Also, pay attention to the import order of the following two packages. If the order is incorrect, it will not take effect

<script src="../js/bootstrap-table/bootstrap-table.js"></script>
<script src="../js/bootstrap-table/bootstrap-table-zh-CN.js"></script>
Copy after login

The above is the detailed content of How to solve the garbled problem of bootstrap table. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!