We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a6881 commit 82b65dbCopy full SHA for 82b65db
static/js/utils.min.js
@@ -138,15 +138,15 @@ var Hutils = {
138
// 资源的id
139
var data_id = $(e).attr("data-id");
140
141
+ // 资源的名称
142
+ var name = $(e).find("div:last").html();
143
+
144
if ($(e).attr("data-openType") == "1") {
- window.open(url,"API文档")
145
+ window.open(url,name)
146
return
147
}
148
NProgress.start();
149
- // 资源的名称
- var name = $(e).find("div:last").html();
-
150
// 遍历整个tab栏目,查找指定id的资源是否打开,
151
// 如果该资源已经打开,则直接切换到该资源,无需从后台获取内容
152
// 如果该资源没有打开,则将flag为false,从后台获取资源内容
0 commit comments