Commit cd890b5a authored by Sun's avatar Sun
Browse files

no commit message

parent d4b52170
...@@ -2059,12 +2059,12 @@ function refreshTabById(pageId) { ...@@ -2059,12 +2059,12 @@ function refreshTabById(pageId) {
$iframe[0].contentWindow.location.reload(true);//带参数刷新 $iframe[0].contentWindow.location.reload(true);//带参数刷新
} }
App.blockUI({ /*App.blockUI({
target: '#tab-content', target: '#tab-content',
boxed: true, boxed: true,
message: '加载中......'//, message: '加载中......'//,
// animate: true // animate: true
}); });*/
} }
var refreshTab = function () { var refreshTab = function () {
...@@ -2497,10 +2497,6 @@ $(function () { ...@@ -2497,10 +2497,6 @@ $(function () {
var target = $(this).attr("target"); var target = $(this).attr("target");
if (!href) return false; if (!href) return false;
if (href.indexOf("javascript") >= 0) return false; if (href.indexOf("javascript") >= 0) return false;
if ($("title").html().indexOf("演示版") >= 0 && href.indexOf("swagger-ui.html") >= 0) {
$(this).find("span").html("接口文档(演示版不开放)");
return false;
}
if(target=="_blank") { if(target=="_blank") {
window.open(href); window.open(href);
return false; return false;
......
Supports Markdown
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