Skip to content

After vite is packaged, the modal component pops up and then closes. It seems that the mask of modal has not been destroyed, so the page cannot be clicked #4798

@Zhai6319

Description

@Zhai6319
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

vue3.2.20 vite2.6.4

Reproduction link

http://t-work.sbxiang.com/#/system/admin

Steps to reproduce

According to the reproduction link provided by me, the account and password are admin. After logging in, enter the system user menu under system management, click add user after entering the list, and then close the pop-up window. Then the whole page can't be clicked because the overlay following the pop-up window is not cancelled. You can see the style in the developer mode

What is expected?

I hope you can turn off the style normally

What is actually happening?

The style was not closed correctly


Local development is good. This problem occurs only when it is packaged as dist through vite build and accessed statically

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions