添加版本号

busUser
wangwei 2 years ago
parent 4941a0b3cc
commit e9bd886e1f

@ -1 +1 @@
1.0.1
V-1.0.1

@ -32,6 +32,7 @@
:item="item"
></sidebar-item>
</el-menu>
<div style="position: absolute;bottom: 22px; color: black;left: 35px; font-size: 11px">{{this.version}}</div>
</el-scrollbar>
<el-container
class="container-box"
@ -190,6 +191,7 @@
<!-- >闽ICP备17019234号</a-->
<!-- >-->
<!-- </div>-->
</el-container>
@ -312,6 +314,7 @@ export default {
newPassword: "",
check_new_password: "",
},
version:'',
employName: "",
name: "",
passwordFormDataRules: {
@ -376,6 +379,15 @@ export default {
mounted() {
},
methods: {
inquire(){
let xhr = new XMLHttpRequest()
let okStatus = document.location.protocol === "file:" ? 0 : 200;
xhr.open("GET", "version.txt", false); // public
xhr.overrideMimeType("text/html;charset=utf-8")
xhr.send(null)
this.version=xhr.responseText;
//alert(xhr.responseText) // xhr.responseText
},
toggleSideBar() {
this.$store.dispatch("ToggleSideBar");
},
@ -577,6 +589,7 @@ export default {
},
},
created() {
this.inquire();
this.getBreadcrumb();
this.getCompanyData();
// this.getStorage();

Loading…
Cancel
Save