Commit 7d5a0caf by fsn

清除日志功能添加确认框

parent d7d06ae1
......@@ -18,8 +18,7 @@
<package name="com.stylefeng.guns.persistence.model"/>
</typeAliases>
<plugins>
<!--<plugins>-->
<!-- SQL 执行性能分析,开发环境使用,线上不推荐。 maxTime 指的是 sql 最大执行时长 -->
<!--<plugin interceptor="com.baomidou.mybatisplus.plugins.PerformanceInterceptor">-->
<!--<property name="maxTime" value="100"/>-->
......@@ -28,10 +27,9 @@
<!--</plugin>-->
<!-- SQL 执行分析拦截器 stopProceed 发现全表执行 delete update 是否停止运行 -->
<plugin interceptor="com.baomidou.mybatisplus.plugins.SqlExplainInterceptor">
<property name="stopProceed" value="true"/>
</plugin>
</plugins>
<!--<plugin interceptor="com.baomidou.mybatisplus.plugins.SqlExplainInterceptor">-->
<!--<property name="stopProceed" value="true"/>-->
<!--</plugin>-->
<!--</plugins>-->
</configuration>
\ No newline at end of file
......@@ -64,10 +64,10 @@ OptLog.detail = function () {
* 清空日志
*/
OptLog.delLog = function () {
// Feng.confirm("是否清空所有日志?",function(){
Feng.confirm("是否清空所有日志?",function(){
var ajax = Feng.baseAjax("/log/delLog","清空日志");
ajax.start();
// });
});
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment