Commit bbbb4e92 by 陈羽

update: update

parent a8d6d059
......@@ -168,7 +168,7 @@ export default {
that.brandListData.forEach(ele => {
if (ele.enterpriseId == val) {
that.activeBrand = ele.enterpriseId;
sessionStorage.setItem('activeBrand', val);
sessionStorage.setItem('userInfoBrandId', val);
}
});
that.getLoginData();
......@@ -186,7 +186,7 @@ export default {
if (resData.errorCode == 1) {
if (!!resData.result && !!resData.result.length) {
that.brandListData = resData.result;
that.activeBrand = sessionStorage.getItem('activeBrand') ? sessionStorage.getItem('activeBrand') : !!that.$route.query.brandId ? that.$route.query.brandId : that.brandListData[0].enterpriseId;
that.activeBrand = sessionStorage.getItem('userInfoBrandId') ? sessionStorage.getItem('activeBrand') : !!that.$route.query.brandId ? that.$route.query.brandId : that.brandListData[0].enterpriseId;
that.getLoginData();
that.getTendData();
that.getAreaLoginData();
......
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