|
@@ -179,8 +179,8 @@ var vm = new Vue({
|
|
|
if (that.user.brandList) {
|
|
|
that.user.brandList.forEach(function(sub){
|
|
|
// item['checked'] = false
|
|
|
- if (item.id===sub.brandId) {
|
|
|
- item['checked'] = true
|
|
|
+ if (item.id===sub.brandId||item.id===sub.id) {
|
|
|
+ item['checked'] = true
|
|
|
return
|
|
|
}
|
|
|
})
|