Commit b1b0542f by RuoYi

右键Tab页刷新事件重复请求问题

parent 7e749c25
...@@ -571,7 +571,6 @@ $(function() { ...@@ -571,7 +571,6 @@ $(function() {
setActiveTab(this); setActiveTab(this);
var target = $('.RuoYi_iframe[data-id="' + this.data('id') + '"]'); var target = $('.RuoYi_iframe[data-id="' + this.data('id') + '"]');
var url = target.attr('src'); var url = target.attr('src');
target.attr('src', url).ready();
$.modal.loading("数据加载中,请稍后..."); $.modal.loading("数据加载中,请稍后...");
target.attr('src', url).load(function () { target.attr('src', url).load(function () {
$.modal.closeLoading(); $.modal.closeLoading();
......
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