修改
This commit is contained in:
@@ -165,6 +165,10 @@ export default {
|
||||
async getLoginCustomer() {
|
||||
this.loading2 = true
|
||||
try {
|
||||
let reportCustomerId = localStorage.getItem('reportCustomerId')
|
||||
if(reportCustomerId&&this.$route.name=='fullreport'){
|
||||
return
|
||||
}
|
||||
const res = await getLoginCustomerAPI()
|
||||
if (res.code == 0) {
|
||||
localStorage.setItem('reportCustomerId', res.data.customerId)
|
||||
|
||||
Reference in New Issue
Block a user