diff --git a/plugins/score/install.sh b/plugins/score/install.sh index 520ec0343..a1f8e557d 100755 --- a/plugins/score/install.sh +++ b/plugins/score/install.sh @@ -20,12 +20,13 @@ Install_score() sleep 0.1 gcc $curPath/testcpu.c -o $serverPath/score/testcpu -lpthread fi - + echo '安装完成' > $install_tmp } Uninstall_score() { + rm -rf $serverPath/score echo '卸载完成' > $install_tmp } diff --git a/static/js/soft.js b/static/js/soft.js index 5190fa5d2..0e1b5608f 100755 --- a/static/js/soft.js +++ b/static/js/soft.js @@ -4,6 +4,7 @@ function ToSizeM(byteLen) { return a || 0; } +//重置插件弹出框宽度 function resetPluginWinWidth(width){ $("div[id^='layui-layer'][class*='layui-layer-page']").width(width); } @@ -328,8 +329,7 @@ function SoftUpdate(name, version, update) { //独立安装 function oneInstall(name, version) { var isError = false - - + var optw = ''; if (name == 'mysql') { optw = "

  • " + lan.soft.mysql_f + "
  • "