In the thinkPHP template, several tag tags are used to introduce js and css, such as importcssjsload. After testing, it seems that the load Tag has a BUG, such as loadhrefneatstudio.comassetsstaticwapcssreset.css, load a CSS file. This is okay, but if you use loadhr
In the thinkPHP template, several tag tags are used to introduce js and css, such as import/css/js/load. After testing, it seems that the load Tag has a BUG, for example: load href = "Export hr
In the thinkPHP template, several tag tags are used to introduce js and css, such as import/css/js/load. After testing, it seems that the Tag load has a BUG.
For example: , Load a CSS file, this is OK, but if you use .
Of course, if you use Is valid
After reading the code, it seems that when the type is not clearly marked, the program determines that the suffix name is invalid. The label actively tells the import program that my type is css and the load is determined by the Code. Therefore, you should add type = "css" to the load program, or modify the program:
Look at the dashes. Here we should first basename, put? Or other information with versions should be removed first.
Maybe this is a bug. Maybe it is a prompt that you should actively Add the type.
Original article address: the Load in the thinkphp template seems to have a BUG. Thank you for sharing it with the original author.