From 40191371f19d16e4a90b435b5180cfca0e3b4c5a Mon Sep 17 00:00:00 2001 From: waruneeta Date: Thu, 8 Feb 2024 14:34:56 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=20updated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registry/components/Profile.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/modules/04_registry/components/Profile.vue b/src/modules/04_registry/components/Profile.vue index d4ee08682..7a84d8363 100644 --- a/src/modules/04_registry/components/Profile.vue +++ b/src/modules/04_registry/components/Profile.vue @@ -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; }