Sweetalert 2 JS在小型设备中无法正常工作

问题描述 投票:1回答:1

我有一个SweetAlert2警报弹出窗口,在桌面版本中正常,但在移动/小型设备中无法正常工作

    Swal.fire({
                type: 'success',
                title:  response.data.body.Data[0].status_text,
                timer: 3500
             }) 

桌面版本:

enter image description here

移动版本:

enter image description here

如何解决我花了一天多的时间解决此问题。

javascript sweetalert sweetalert2
1个回答
0
投票

enter image description here我对此有相同的问题,如果大屏幕运行正常,但我在表中显示数据并在删除菜单中添加一个甜蜜警报以确认它,但在小屏幕上只有数据具有1列正在运行,但是如果其中有数据,则不会出现2列或更多的甜警报,并立即删除数据

© www.soinside.com 2019 - 2024. All rights reserved.