Commit 6c224f07 by 陈羽

update: update

parent bbbb4e92
......@@ -186,7 +186,7 @@ export default {
if (resData.errorCode == 1) {
if (!!resData.result && !!resData.result.length) {
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.getTendData();
that.getAreaLoginData();
......@@ -310,15 +310,15 @@ export default {
}
},
watch: {
activeBrand: function(newData, oldData) {
const that = this;
if (newData) {
// that.getLoginData();
// that.getTendData();
// that.getAreaLoginData();
}
that.activeBrand = newData;
}
// activeBrand: function(newData, oldData) {
// const that = this;
// if (newData) {
// // that.getLoginData();
// // that.getTendData();
// // that.getAreaLoginData();
// }
// that.activeBrand = newData;
// }
},
mounted() {
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