This commit is contained in:
2022-05-11 14:28:14 +08:00
parent d0f069937b
commit 8c3e4e9bc1
6 changed files with 129 additions and 149 deletions
+2 -2
View File
@@ -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
}