Commit ef982f8b authored by linxin's avatar linxin

add

parent ac21c9c7
Pipeline #3748 canceled with stages
......@@ -282,7 +282,7 @@ export default {
}
},
changePay () {
if (window.localStorage.getItem('bp_id') !== 'undefined') {
if (window.sessionStorage.getItem('bp_id') !== 'undefined') {
this.$router.push({
name: 'FirstPay',
})
......@@ -291,7 +291,7 @@ export default {
}
},
changeRent () {
if (window.localStorage.getItem('bp_id') !== 'undefined') {
if (window.sessionStorage.getItem('bp_id') !== 'undefined') {
this.$router.push({
name: 'NewList',
})
......@@ -468,6 +468,7 @@ export default {
vm.user_bp_class = res.info.user_bp_class
vm.bp_id = res.info.user_bp_id
vm.bp_identity = res.info.bp_identity
window.localStorage.setItem('bp_id', res.info.user_bp_id)
window.localStorage.setItem('bp_name', res.info.user_bp_name)
vm.user_bp_name = res.info.user_bp_name
vm.user_bp_type = res.info.user_bp_type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment