解决流程
方法一:
找到vue.config.js设置publicPath
publicPath是设置资源路径的公共路径
module.exports = {
publicPath: "./"
}
方法二:
把服务器的内容分部网络中的缓存时间设置变短
以腾讯云为例:
个人网站:https://www.php-china.com/
如有错误,请多多指教。
如对你有帮助,给个赞吧。
方法一:
找到vue.config.js设置publicPath
publicPath是设置资源路径的公共路径
module.exports = {
publicPath: "./"
}
方法二:
把服务器的内容分部网络中的缓存时间设置变短
以腾讯云为例:
个人网站:https://www.php-china.com/
如有错误,请多多指教。
如对你有帮助,给个赞吧。