1
This commit is contained in:
+2
-2
@@ -99,7 +99,7 @@ export default () => {
|
||||
const {fetchData: fetchDataUserInfo} = GetWxUserInfoApi()
|
||||
const getSelfUserInfo = async () => {
|
||||
return new Promise((reslove, reject) => {
|
||||
if(userInfo.adminUserInfo.is_authorize_name) {
|
||||
if(userInfo.adminUserInfo?.is_authorize_name) {
|
||||
reslove(true)
|
||||
return true
|
||||
}
|
||||
@@ -138,7 +138,7 @@ export default () => {
|
||||
const {fetchData: fetchDataUserPhone} = GetPhoneNumberApi()
|
||||
const getPhoneNumber = (code) =>{
|
||||
return new Promise( async (reslove, reject) => {
|
||||
if(userInfo.adminUserInfo.is_authorize_phone) {
|
||||
if(userInfo.adminUserInfo?.is_authorize_phone) {
|
||||
reslove(true)
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user