Browse Source

移动端

master
张泽亮 6 days ago
parent
commit
e787c8b77a
2 changed files with 8 additions and 3 deletions
  1. +1
    -1
      src/views/app/login.vue
  2. +7
    -2
      src/views/app/user.vue

+ 1
- 1
src/views/app/login.vue View File

@@ -55,7 +55,7 @@
</van-form> </van-form>
</div> </div>


<p class="copy">>{{this.$store.getters.technicalSupport == "" ? "中农融信(北京)科技股份有限公司" : this.$store.getters.technicalSupport}}</p>
<p class="copy">{{this.$store.getters.technicalSupport == "" ? "中农融信(北京)科技股份有限公司" : this.$store.getters.technicalSupport}}</p>
</div> </div>
</template> </template>




+ 7
- 2
src/views/app/user.vue View File

@@ -24,7 +24,7 @@
<img src="../../assets/images/app/user_icon_02.png" width="25" alt=""> <img src="../../assets/images/app/user_icon_02.png" width="25" alt="">
</template> </template>
</van-cell> </van-cell>
<van-cell title="退出登录" is-link center :border="false">
<van-cell title="退出登录" is-link center :border="false" @click = "logOut">
<template slot="icon"> <template slot="icon">
<img src="../../assets/images/app/user_icon_03.png" width="25" alt=""> <img src="../../assets/images/app/user_icon_03.png" width="25" alt="">
</template> </template>
@@ -49,7 +49,12 @@
methods: { methods: {
goBack(){ goBack(){
history.go(-1) history.go(-1)
}
},
logOut() {
this.$store.dispatch('LogOut').then(() => {
location.href = '/app/index'
})
},
}, },
}; };
</script> </script>


Loading…
Cancel
Save