Creating & Edit profile

This commit is contained in:
2026-09-15 14:10:52 +03:30
parent 8dcf4ed5e9
commit 9ae176bec0
13 changed files with 767 additions and 77 deletions
@@ -69,6 +69,12 @@ function close() {
open.value = false;
}
function scheduleClose() {
window.setTimeout(() => {
close();
}, 0);
}
function onSelect(key: string) {
emit('select', key);
nextTick(() => {
@@ -85,7 +91,7 @@ function onSelect(key: string) {
type="button"
aria-label="منوی بیشتر"
:aria-expanded="open"
@click="toggle"
@click.stop="toggle"
>
<UiIcon name="dots-v" :size="18" />
</button>
@@ -107,7 +113,7 @@ function onSelect(key: string) {
:class="{ danger: item.danger }"
role="menuitem"
:to="item.to"
@click.stop="close"
@click.stop="scheduleClose"
>
{{ item.label }}
</RouterLink>