Browse Source

后端版本号样式修改

develop
CareyWong 5 years ago
parent
commit
2e48e01eae
  1. 3
      src/views/Subconverter.vue

3
src/views/Subconverter.vue

@ -540,7 +540,8 @@ export default {
},
getBackendVersion() {
this.$axios.get(defaultBackend.substring(0, defaultBackend.length - 5) + '/version').then(res => {
this.backendVersion = res.data.replace(/\n$/gm, '');
this.backendVersion = res.data.replace(/backend\n$/gm, '');
this.backendVersion = this.backendVersion.replace('subconverter', '');
})
}
}

Loading…
Cancel
Save