pull/109/head
Mr Chen 7 years ago
parent 61a1a49f58
commit 5c6a288e29
  1. 3
      plugins/score/install.sh
  2. 4
      static/js/soft.js

@ -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
}

@ -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 = "<br><br><li style='color:red;'>" + lan.soft.mysql_f + "</li>"

Loading…
Cancel
Save