| 赞 | 58 |
| VIP | |
| 好人卡 | |
| 积分 | 2 |
| 经验 | |
| 最后登录 | 2026-10-16 |
| 在线时间 | 1037 小时 |
- 梦石
- 0
- 星屑
- 196
- 在线时间
- 1037 小时
- 注册时间
- 2021-3-24
- 回帖
- 548

|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
- swal({
- title: 'Input something',
- input: 'text',
- showCancelButton: true,
- inputValidator: function(value) {
- return new Promise(function(resolve, reject) {
- if (value) {
- resolve();
- } else {
- reject('You need to write something!');
- }
- });
- }
- }).then(function(result) {
- if (result) {
- swal({
- type: 'success',
- html: 'You entered: ' + result
- });
- }
- })
复制代码
sweetalert2 新版的CSS NW环境解析不了 所以只能用老版本。
可以自行搜索文档 |
|