修改国籍编码使用字符串比较问题

This commit is contained in:
mengxiaolong
2020-12-16 21:43:43 +08:00
parent cb9f342a2c
commit c9fb51647d

View File

@@ -1140,7 +1140,7 @@ export default {
// 通过国籍判断 证件是否符合要求
// 如果是国籍选择中国大陆
if (this.userInfo.nativeplace <= '4') {
if (Number(this.userInfo.nativeplace) <= 4) {
// “身份证”或“台湾居民来往大陆通行证”或“港澳居民来往内地通行证”
let obj = {
'1': true,