Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify组件能加上持续展示和主动销毁功能吗 #106

Open
aitrx opened this issue Jun 4, 2024 · 1 comment
Open

Notify组件能加上持续展示和主动销毁功能吗 #106

aitrx opened this issue Jun 4, 2024 · 1 comment

Comments

@aitrx
Copy link

aitrx commented Jun 4, 2024

如上:
有个消息通知,需要一直显示,直到触发某个操作后销毁消息通知。

notifyRef.value?.show({
  msg: '操作成功',
  position: 'center',
 duration: 0
})

销毁:

notifyRef.value?.hide()
@cathcy8869
Copy link

可以的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants