fix:改变获取config。json的生命周期 放入created 解决 强刷报错的问题
This commit is contained in:
@@ -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)=>{
|
||||
|
||||
Reference in New Issue
Block a user