Iview admin refers to Baidu Map api, and there is no problem running in idea. , BMap not found after packaging and publishing to the server

about the import method, I have tried to find < script > directly in index.html and write a map.js
either way is an error that can not be found in BMap after packaging.

clipboard.png

do you have any solutions or ideas?


webpack.base.conf.js add


I have found the reason. There is no introduction of script in index.html after packaging. Join again and add it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beb3c8-31a55.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beb3c8-31a55.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?