Skip to content

fix: mode 模式,guard.show / hide 会频繁的插入 script #328

@coding-ice

Description

@coding-ice

https://stackblitz.com/edit/vitejs-vite-xlut2lrs?file=src%2FApp.tsx

Steps to reproduce the error:

  1. 点击显示
  2. 点击隐藏

重复这个步骤,会发现插入多个 script,导致登录成功会提示多个toast

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions