Skip to content

新扩展 SweetAlert2 - #309

Open
Jeandongjun wants to merge 1 commit into
Gandi-IDE:mainfrom
Jeandongjun:patch-1
Open

新扩展 SweetAlert2#309
Jeandongjun wants to merge 1 commit into
Gandi-IDE:mainfrom
Jeandongjun:patch-1

Conversation

@Jeandongjun

Copy link
Copy Markdown

一个更好的弹窗组件

Comment on lines +2 to +4
var script = document.createElement('script');
script.src = 'https://cdn.jsdelivr.net/npm/sweetalert2@11';
document.head.appendChild(script);

@BenPaoDeXiaoZhi BenPaoDeXiaoZhi Jun 30, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ccw估计不会允许全局lib污染,建议把官方的build import进来

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

Successfully merging this pull request may close these issues.

2 participants