Commit 6c224f07 by 陈羽

update: update

parent bbbb4e92
...@@ -186,7 +186,7 @@ export default { ...@@ -186,7 +186,7 @@ export default {
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
if (!!resData.result && !!resData.result.length) { if (!!resData.result && !!resData.result.length) {
that.brandListData = resData.result; that.brandListData = resData.result;
that.activeBrand = sessionStorage.getItem('userInfoBrandId') ? sessionStorage.getItem('activeBrand') : !!that.$route.query.brandId ? that.$route.query.brandId : that.brandListData[0].enterpriseId; that.activeBrand = sessionStorage.getItem('userInfoBrandId') ? sessionStorage.getItem('userInfoBrandId') : !!that.$route.query.brandId ? that.$route.query.brandId : that.brandListData[0].enterpriseId;
that.getLoginData(); that.getLoginData();
that.getTendData(); that.getTendData();
that.getAreaLoginData(); that.getAreaLoginData();
...@@ -310,15 +310,15 @@ export default { ...@@ -310,15 +310,15 @@ export default {
} }
}, },
watch: { watch: {
activeBrand: function(newData, oldData) { // activeBrand: function(newData, oldData) {
const that = this; // const that = this;
if (newData) { // if (newData) {
// that.getLoginData(); // // that.getLoginData();
// that.getTendData(); // // that.getTendData();
// that.getAreaLoginData(); // // that.getAreaLoginData();
} // }
that.activeBrand = newData; // that.activeBrand = newData;
} // }
}, },
mounted() { mounted() {
const that = this; const that = this;
......
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