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

dep_wangsr
RuoYi 5 years ago committed by Limy
parent 1554179f45
commit 51cff4575a

@ -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();

Loading…
Cancel
Save