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" 方法都已過時(shí),建議在新項(xiàng)目中使用 "mixin"肃弟,對于過去已經(jīng)使用 "setDefaults" 方法的項(xiàng)目,將會(huì)提供附加包來進(jìn)行支持混槐。