|
@@ -41,7 +41,7 @@
|
|
|
<el-row class="auth-row">
|
|
<el-row class="auth-row">
|
|
|
<el-col :span="2"> 身份证号 </el-col>
|
|
<el-col :span="2"> 身份证号 </el-col>
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
- {{ userInfo.idCard }}
|
|
|
|
|
|
|
+ {{ maskIdCard(userInfo.idCard) }}
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row class="auth-row">
|
|
<el-row class="auth-row">
|
|
@@ -300,6 +300,8 @@ import homeIcon from "../../assets/images/home-icon.png";
|
|
|
import zfbIcon from "../../assets/financial/zfb-icon.png";
|
|
import zfbIcon from "../../assets/financial/zfb-icon.png";
|
|
|
import { lo } from "element-plus/es/locale";
|
|
import { lo } from "element-plus/es/locale";
|
|
|
import { getPhoneCode, getCheckSmsCode } from "@/api/modules/newLoginApi";
|
|
import { getPhoneCode, getCheckSmsCode } from "@/api/modules/newLoginApi";
|
|
|
|
|
+import { maskIdCard } from "@/utils/index";
|
|
|
|
|
+
|
|
|
// 初始化用户信息,统一处理支付宝账号字段名(兼容 aliPayAccount 和 alipayAccount)
|
|
// 初始化用户信息,统一处理支付宝账号字段名(兼容 aliPayAccount 和 alipayAccount)
|
|
|
const initUserInfo = () => {
|
|
const initUserInfo = () => {
|
|
|
const cachedUserInfo = localGet("geeker-user")?.userInfo || {};
|
|
const cachedUserInfo = localGet("geeker-user")?.userInfo || {};
|