diff --git a/src/common/constant.js b/src/common/constant.js
index c1e0354..dc069fb 100644
--- a/src/common/constant.js
+++ b/src/common/constant.js
@@ -9,7 +9,7 @@
// export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发
// export const BASE_URL = `https://dev.zzfzyc.com/lymarket` // 开发环境
// export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境
-// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
+// export const BASE_URL = `http://192.168.1.4:40001/lymarket` // 王霞
export const BASE_URL = `http://192.168.1.224:50001/lymarket` // 添
// export const BASE_URL = `http://192.168.1.15:50001/lymarket` // 杰
diff --git a/src/components/AddressList/index.tsx b/src/components/AddressList/index.tsx
index b2066a0..71e9827 100644
--- a/src/components/AddressList/index.tsx
+++ b/src/components/AddressList/index.tsx
@@ -93,7 +93,7 @@ const AddressList = memo((props:Params)=>{
{item.name}
{
item.is_default?默认:
- {item.phone.replace(item.phone.substring(4,7), "****")}
+ {item.phone.replace(item.phone.substring(3,7), "****")}
}
diff --git a/src/pages/user/index.tsx b/src/pages/user/index.tsx
index 1dfc6d7..1a1a0b5 100644
--- a/src/pages/user/index.tsx
+++ b/src/pages/user/index.tsx
@@ -36,13 +36,13 @@ export default () => {
}
const Modal = memo((props:any)=>{
const {data} = props;
+ const [modalShow, setModalShow]=useState(true);
const handleouter = ()=>{
console.log(222);
-
}
return(
<>
- {!data?.is_authorize_phone&&
+ {!data?.is_authorize_phone&&modalShow&&
e.stopPropagation()}>
首次登录提醒
@@ -53,7 +53,7 @@ const Modal = memo((props:any)=>{
- 我知道
+ setModalShow(false)}>我知道
@@ -90,7 +90,7 @@ const Header = memo((props:any) => {
{data?.user_name}
- {userInfo?.phone||}
+ {userInfo?.phone?.replace(userInfo?.phone?.substring(3,7), "****")||}