摘要: 1.在static静态目录下新建version.json每次发版更改里面的版本号 2. // 获取版本 this.$axios .get(`http://vue地址/static/version.json`, { headers: { 'Cache-Control': 'no-cache' } }) 阅读全文
posted @ 2021-12-20 11:07 糕乐糕 阅读(656) 评论(0) 推荐(0)