作者 朱兆平

将版本验证改成相对路径

... ... @@ -226,7 +226,7 @@
this.collapsed=!this.collapsed;
},
checkUpdate() {
axios.get('http://localhost:12021/static/nmmsVer.json').then(function(response) {
axios.get('/static/nmmsVer.json').then(function(response) {
// 判断版本号是否与本地一致
if (response.data.nmmsVer != localStorage.getItem('nmmsVer')) {
localStorage.setItem('nmmsVer', response.data.nmmsVer)
... ...