diff --git a/src/views/car/CarGoodsAdminView.vue b/src/views/car/CarGoodsAdminView.vue index 10814fe..e0da831 100644 --- a/src/views/car/CarGoodsAdminView.vue +++ b/src/views/car/CarGoodsAdminView.vue @@ -445,13 +445,13 @@ export default { width: '10%', formatter: function (val, row, index) { let value = ''; - if (val & 1 != 0) { + if ((val & 1) != 0) { value += '英语区
'; } - if (val & 2 != 0) { + if ((val & 2) != 0) { value += '阿拉伯语区
'; } - if (val & 4 != 0) { + if ((val & 4) != 0) { value += '华语区
'; } return value; diff --git a/src/views/chatbubble/ChatbubbleManageView.vue b/src/views/chatbubble/ChatbubbleManageView.vue index 8178d16..8728792 100644 --- a/src/views/chatbubble/ChatbubbleManageView.vue +++ b/src/views/chatbubble/ChatbubbleManageView.vue @@ -207,13 +207,13 @@ export default { width: '10%', formatter: function (val, row, index) { let value = ''; - if (val & 1 != 0) { + if ((val & 1) != 0) { value += '英语区
'; } - if (val & 2 != 0) { + if ((val & 2) != 0) { value += '阿拉伯语区
'; } - if (val & 4 != 0) { + if ((val & 4) != 0) { value += '华语区
'; } return value; diff --git a/src/views/headwear/HeadwearAdminView.vue b/src/views/headwear/HeadwearAdminView.vue index e063068..b62363d 100644 --- a/src/views/headwear/HeadwearAdminView.vue +++ b/src/views/headwear/HeadwearAdminView.vue @@ -384,13 +384,13 @@ export default { width: '10%', formatter: function (val, row, index) { let value = ''; - if (val & 1 != 0) { + if ((val & 1) != 0) { value += '英语区
'; } - if (val & 2 != 0) { + if ((val & 2) != 0) { value += '阿拉伯语区
'; } - if (val & 4 != 0) { + if ((val & 4) != 0) { value += '华语区
'; } return value; diff --git a/src/views/infocard/InfocardManageView.vue b/src/views/infocard/InfocardManageView.vue index a405e95..507e66a 100644 --- a/src/views/infocard/InfocardManageView.vue +++ b/src/views/infocard/InfocardManageView.vue @@ -195,13 +195,13 @@ export default { width: '10%', formatter: function (val, row, index) { let value = ''; - if (val & 1 != 0) { + if ((val & 1) != 0) { value += '英语区
'; } - if (val & 2 != 0) { + if ((val & 2) != 0) { value += '阿拉伯语区
'; } - if (val & 4 != 0) { + if ((val & 4) != 0) { value += '华语区
'; } return value; diff --git a/src/views/nameplate/NameplateInfoView.vue b/src/views/nameplate/NameplateInfoView.vue index 4e93781..e21a4fb 100644 --- a/src/views/nameplate/NameplateInfoView.vue +++ b/src/views/nameplate/NameplateInfoView.vue @@ -241,16 +241,15 @@ export default { width: '10%', formatter: function (val, row, index) { let value = ''; - if (val & 1 != 0) { + if ((val & 1) != 0) { value += '英语区
'; } - if (val & 2 != 0) { + if ((val & 2) != 0) { value += '阿拉伯语区
'; } - if (val & 4 != 0) { + if ((val & 4) != 0) { value += '华语区
'; } - console.log(val & 2); return value; } }, diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index 85a683f..2decd7a 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -653,13 +653,13 @@ export default { width: '10%', formatter: function (val, row, index) { let value = ''; - if (val & 1 != 0) { + if ((val & 1) != 0) { value += '英语区
'; } - if (val & 2 != 0) { + if ((val & 2) != 0) { value += '阿拉伯语区
'; } - if (val & 4 != 0) { + if ((val & 4) != 0) { value += '华语区
'; } return value; diff --git a/src/views/users/MessageAdminView.vue b/src/views/users/MessageAdminView.vue index 469d9eb..5c12f0d 100644 --- a/src/views/users/MessageAdminView.vue +++ b/src/views/users/MessageAdminView.vue @@ -204,13 +204,13 @@ export default { width: '10%', formatter: function (val, row, index) { let value = ''; - if (val & 1 != 0) { + if ((val & 1) != 0) { value += '英语区
'; } - if (val & 2 != 0) { + if ((val & 2) != 0) { value += '阿拉伯语区
'; } - if (val & 4 != 0) { + if ((val & 4) != 0) { value += '华语区
'; } return value;