Skip to content
☆´∀`☆
On this page

将一些常用插件挂载至 window

  • 十分震惊 😱 负优化
js
window.$loadingBar = useLoadingBar();
window.$dialog = useDialog();
window.$message = useMessage();
window.$notification = useNotification();

window.$message?.error();