fix:改变获取config。json的生命周期 放入created 解决 强刷报错的问题

This commit is contained in:
zhangyu
2020-10-26 14:54:15 +08:00
parent 4fc58fc0b7
commit 17c4b4dc26

View File

@@ -9,7 +9,7 @@
<script>
export default {
name: 'App',
mounted() {
created(){
const Timestamp=new Date().getTime();
let url="static/config.json?Timestamp="+Timestamp;
this.$http.get(url).then((result)=>{