diff --git a/views/page/view.html b/views/page/view.html
index 1d437a10..e7570da1 100644
--- a/views/page/view.html
+++ b/views/page/view.html
@@ -108,8 +108,10 @@
{{$document.name}}
// 将所有的 a 标签 target="_parent"
$("#document_page_view").find("a").each(function () {
- var target = $(this).attr("target") || "_parent";
- $(this).attr("target", target);
+ if($(this).attr("show")!="new"){
+ var target = $(this).attr("target") || "_parent";
+ $(this).attr("target", target);
+ }
})
// 生成目录树
@@ -154,4 +156,4 @@ {{$document.name}}
}
})
});
-
\ No newline at end of file
+