This commit is contained in:
Mr Chen 2018-11-26 16:08:19 +08:00
parent 0d0007d9a1
commit fc0fdd5772
2 changed files with 4 additions and 3 deletions

View File

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

View File

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