From 42d07c1cece28fa824a83bbbb47af48a6d650990 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 30 Oct 2023 14:02:10 +0800 Subject: [PATCH] update --- plugins/gogs/index.html | 9 +++++++++ plugins/gogs/js/gogs.js | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/plugins/gogs/index.html b/plugins/gogs/index.html index ff4a879a0..da2ba167e 100755 --- a/plugins/gogs/index.html +++ b/plugins/gogs/index.html @@ -1,3 +1,12 @@ +
diff --git a/plugins/gogs/js/gogs.js b/plugins/gogs/js/gogs.js index 2cf3ece16..07f4e406e 100755 --- a/plugins/gogs/js/gogs.js +++ b/plugins/gogs/js/gogs.js @@ -312,8 +312,8 @@ function gogsRepoListPage(page, search){ body += ''+ulist[i]["id"]+''+ - '' + ulist[i]["name"]+''+ - '' + ulist[i]["repo"]+''+ + '' + ulist[i]["name"]+''+ + '' + ulist[i]["repo"]+''+ '' + '源码' + ' | ' + option + @@ -617,7 +617,7 @@ function projectScriptSelfRender(user, name){ layer.msg("已经禁用,不能执行!",{icon:2,time:2000,shade: [0.3, '#000']}); return; } - + file = file.split('.sh')[0]; layer.open({