...
|
...
|
@@ -77,7 +77,7 @@ class PageCahe extends Model { |
|
|
|
|
|
try {
|
|
|
//验证两个变量是否为空避免特殊bug造成为空后拼接的shell执行危险操作
|
|
|
if (server.cachepath.trim() && storeTableName) {
|
|
|
if (server.cachepath.trim() && storeTableName.trim()) {
|
|
|
self._broadcast(`第${i+1}台准备清理:`)
|
|
|
//连接ssh后执行操作
|
|
|
await self._connStart(async (conn) => {
|
...
|
...
|
|