导航删除不刷新问题修复

This commit is contained in:
hdm 2022-04-18 18:52:59 +08:00
parent e9b21778cd
commit 5f6488d278
3 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ class Api extends BaseController
]);
$file_check['image'] = $file;
if (!$validate->check($file_check)) {
return to_assign(1, $validate->getError());
return json(['success'=>0,'message'=>$validate->getError(),'url'=>'']);
}
// 日期前綴
$dataPath = date('Ym');

View File

@ -126,7 +126,7 @@
},
success: function (res) {
layer.msg(res.msg);
if (res.code == 1) {
if (res.code == 0) {
obj.del();
}
}

View File

@ -34,7 +34,7 @@
</ul>
</div>
<div style="padding:20px; background-color:#fff;line-height: 27px; border-radius:0 0 6px 6px">
<p>勾股CMS是一套基于ThinkPHP{:TP_VERSION} + Layui{:LAYUI_VERSION} + MySql打造的轻量级、高性能快速建站的内容管理系统。后台管理模块一目了然操作简单通用型后台权限管理框架紧随潮流、开箱即用让WEB开发更简单<br><br>
<p>勾股CMS是一套基于ThinkPHP{$TP_version} + Layui{:LAYUI_VERSION} + MySql打造的轻量级、高性能快速建站的内容管理系统。后台管理模块一目了然操作简单通用型后台权限管理框架紧随潮流、开箱即用让WEB开发更简单<br><br>
<strong>开源协议:</strong><br>
本系统遵循Apache Lisense 2.0开源协议发布,并提供免费使用。<br>
Apache Licence是著名的非盈利开源组织Apache采用的协议。该协议和BSD类似鼓励代码共享和尊重原作者的著作权允许代码修改再作为开源或商业软件发布。需要满足的条件<br>