ทะเบียนประวัติ updated

This commit is contained in:
Warunee Tamkoo 2024-02-08 14:34:56 +07:00
parent fd4d45638c
commit 40191371f1

View file

@ -1014,11 +1014,12 @@ async function checIsVerified() {
const data = res.data.result;
profileStore.isVerified = data.isVerified;
console.log("isVerified===>", data.isVerified);
console.log("roleRegistryverify===>", roleRegistryverify.value);
console.log("roleKeyregistry===>", roleKeyregistry.value);
if (data.isVerified || roleRegistryverify.value) {
profileStore.isEdit = false;
if (roleRegistryverify.value || roleKeyregistry.value) {
if (data.isVerified || roleRegistryverify.value) {
profileStore.isEdit = false;
} else {
profileStore.isEdit = true;
}
} else {
profileStore.isEdit = true;
}