当前位置:网站首页>EasyUI dialog "cache problem"

EasyUI dialog "cache problem"

2020-11-07 20:56:37 Simon, it's blowing snow

</pre><pre name="code" class="html">var _url="addCheckIndexa.action?eval.id=-1&temp="+$('#indexId').val();
		$("#editCheckIndex").dialog({
				title:" New indicators ",
				cache:false,
				href:_url,
				resizable: true,
				height: 400,
				width: 1100,
				modal: true
			});
		$('#editCheckIndex').dialog('open');

easyUI dialog Of href When loading dynamically , Pop up dialog Always show the last opened dialog page . The solution is open Add the following sentence

</pre><pre name="code" class="html">$('#editCheckIndex').dialog('open').dialog('refresh', _url);

ps: The temporary solution is this , The reason is because of what ? Other projects do not add this sentence, there is no such problem .

Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .

版权声明
本文为[Simon, it's blowing snow]所创,转载请带上原文链接,感谢