参数管理支持缓存操作

This commit is contained in:
RuoYi
2020-03-18 12:28:36 +08:00
parent 567ab47ae9
commit 06751acbf9
11 changed files with 318 additions and 11 deletions

View File

@@ -50,6 +50,9 @@
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:config:export">
<i class="fa fa-download"></i> 导出
</a>
<a class="btn btn-danger" onclick="clearCache()" shiro:hasPermission="system:config:remove">
<i class="fa fa-refresh"></i> 清理缓存
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
@@ -131,6 +134,10 @@
};
$.table.init(options);
});
function clearCache() {
$.operate.get(prefix + "/clearCache");
}
</script>
</body>
</html>