diff --git a/ruoyi-admin/src/main/resources/templates/system/special/add.html b/ruoyi-admin/src/main/resources/templates/system/special/add.html index 80b9eb3..d59afed 100644 --- a/ruoyi-admin/src/main/resources/templates/system/special/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/special/add.html @@ -90,7 +90,7 @@ if ($.validate.form()) { var text = getContentTxt(); if (text == '' || text.length == 0) { - $.modal.alertWarning("请输入公告内容!"); + $.modal.alertWarning("请输入内容!"); return; } $.operate.save(prefix + "/add", $('#form-special-add').serialize()); diff --git a/ruoyi-admin/src/main/resources/templates/system/special/edit.html b/ruoyi-admin/src/main/resources/templates/system/special/edit.html index 2cb477f..37bf4a0 100644 --- a/ruoyi-admin/src/main/resources/templates/system/special/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/special/edit.html @@ -102,7 +102,7 @@ if ($.validate.form()) { var text = getContentTxt(); if (text == '' || text.length == 0) { - $.modal.alertWarning("请输入通知内容!"); + $.modal.alertWarning("请输入内容!"); return; } $.operate.save(prefix + "/edit", $('#form-special-edit').serialize());