From 752d3b22f4d7a741cd009d442ec4ba1a0d5718f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com> Date: Sat, 13 Feb 2021 08:22:18 +0800 Subject: [PATCH] update view/document/popup.html. --- view/document/popup.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/view/document/popup.html b/view/document/popup.html index f411f04..7cab7a0 100644 --- a/view/document/popup.html +++ b/view/document/popup.html @@ -52,7 +52,7 @@ popup.success("成功消息") popup.failure("失败消息") - popup.warming("警告消息") + popup.warning("警告消息") }) @@ -80,7 +80,7 @@ popup.success("成功消息",callback) popup.failure("失败消息",callback) - popup.warming("警告消息",callback) + popup.warning("警告消息",callback) }) @@ -105,7 +105,7 @@ popup.failure("失败消息") }) $(".warming").click(function() { - popup.warming("警告消息") + popup.warning("警告消息") }) $(".success-callback").click(function() { popup.success("成功消息", function() { @@ -118,7 +118,7 @@ }) }) $(".warming-callback").click(function() { - popup.warming("警告消息", function() { + popup.warning("警告消息", function() { layer.msg("回调函数") }) })