mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
feat: 支持刷新
This commit is contained in:
@@ -20,6 +20,9 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="layui-inline">
|
||||||
|
<button type="button" class="layui-btn layui-btn-primary" id="refresh-btn"><i class="layui-icon layui-icon-refresh"></i> 刷新</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div id="log-container" class="log-container"></div>
|
<div id="log-container" class="log-container"></div>
|
||||||
|
|||||||
@@ -123,4 +123,9 @@ $(function () {
|
|||||||
sortField = data.value;
|
sortField = data.value;
|
||||||
reloadLogs();
|
reloadLogs();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 监听刷新按钮点击
|
||||||
|
$('#refresh-btn').on('click', function() {
|
||||||
|
reloadLogs();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user