updated
This commit is contained in:
parent
4e8cff183a
commit
fd4d45638c
3 changed files with 11 additions and 8 deletions
|
|
@ -1014,13 +1014,14 @@ async function checIsVerified() {
|
|||
const data = res.data.result;
|
||||
|
||||
profileStore.isVerified = data.isVerified;
|
||||
// profileStore.isVerified = data.isVerified
|
||||
// ? true
|
||||
// : roleRegistryverify.value
|
||||
// ? true
|
||||
// : roleKeyregistry.value
|
||||
// ? false
|
||||
// : false;
|
||||
console.log("isVerified===>", data.isVerified);
|
||||
console.log("roleRegistryverify===>", roleRegistryverify.value);
|
||||
console.log("roleKeyregistry===>", roleKeyregistry.value);
|
||||
if (data.isVerified || roleRegistryverify.value) {
|
||||
profileStore.isEdit = false;
|
||||
} else {
|
||||
profileStore.isEdit = true;
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue