diff --git a/src/bg-ui/bg-info.vue b/src/bg-ui/bg-info.vue
index 962d99283eaac372afdc90c979df0cb31605710b..738d54b2bbb18a4beb9ef5f2cf1970ef36d2ba31 100644
--- a/src/bg-ui/bg-info.vue
+++ b/src/bg-ui/bg-info.vue
@@ -21,6 +21,7 @@
>
{{item.value}}
{{secret(item.value)}}
+ {{idCardShow ? item.value : idcard(item.value)}}
{{item.value}}
{{ item.value }}
@@ -32,6 +33,7 @@
复制
+
'*').join('');
- console.log(8888888)
- console.log(passwordStr)
return str1+passwordStr+str2
+ },
+ idcard(value) {
+ const len = value.length;
+ const str1 = value.substring(0,3);
+ const str2 = value.substring(value.length-4,value.length);
+ const passwordStr = value.substring(3,value.length-4).split('').map(item => '*').join('');
+ return str1+passwordStr+str2
+ },
+ viewIdCard() {
+
}
},
};
diff --git a/src/page/main/develop/account/add/contact-form.vue b/src/page/main/develop/account/add/contact-form.vue
index e2bec5148092924000895c4123dd75e980917c2c..d86aadbace86ba510305006878be9a49169a9761 100644
--- a/src/page/main/develop/account/add/contact-form.vue
+++ b/src/page/main/develop/account/add/contact-form.vue
@@ -23,14 +23,25 @@