Skip to content

退出登录时menu定位错误 #170

@cyb233

Description

@cyb233

在进行退出登录操作后,布局变化时menu

<q-menu
class="avatar-popover"
:offset="[-30, 5]"
anchor="bottom left"
self="top right"
style="border-radius: 8px"
>
的坐标依然是个人中心的左上角,重新点开后正常,估计原因是
<q-list class="avatar-panel-popover" v-if="user">
<div v-else class="q-pa-sm">
的大小不同,所以
:offset="[-30, 5]"
的偏移量不会动态变化

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions