From d4b7b2b830ed119910c65ebe5d6dc2162b52d74e Mon Sep 17 00:00:00 2001 From: sgjj <995959152@qq.com> Date: Wed, 16 Sep 2020 17:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/manager/cms/generate/index.ftl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/webapp/WEB-INF/manager/cms/generate/index.ftl b/src/main/webapp/WEB-INF/manager/cms/generate/index.ftl index 727db02b..78ca3b5c 100644 --- a/src/main/webapp/WEB-INF/manager/cms/generate/index.ftl +++ b/src/main/webapp/WEB-INF/manager/cms/generate/index.ftl @@ -212,6 +212,12 @@ title: '更新成功!', type: 'success' }); + }else { + that.$notify({ + title: '生成失败', + message:data.msg, + type: 'error' + }); } }).catch(function (err) { that.$notify({ @@ -236,6 +242,12 @@ title: '更新成功!', type: 'success' }); + }else { + that.$notify({ + title: '生成失败!', + message:data.msg, + type: 'error' + }); } }).catch(function (err) { that.$notify({