SweetAlert2: "setDefaults" & "resetDefaults" methods are deprecated in favor of "mixin" method and will be removed in the next major release. For new projects, use "mixin". For past projects already using "setDefaults", support will be provided through an additional package.
SweetAlert2 组件提示 "setDefaults" 和 "resetDefaults" 方法都已过时,建议在新项目中使用 "mixin",对于过去已经使用 "setDefaults" 方法的项目,将会提供附加包来进行支持。
网友评论