diff --git a/main.go b/main.go index d5e953b..79d66af 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( "github.com/labstack/gommon/log" ) -const Version = "v0.4.0" +const Version = "v0.4.1" func main() { err := Run() diff --git a/web/package.json b/web/package.json index 5390912..45bfe3d 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "next-terminal", - "version": "0.4.0", + "version": "0.4.1", "private": true, "dependencies": { "@ant-design/icons": "^4.3.0", diff --git a/web/src/components/asset/Asset.js b/web/src/components/asset/Asset.js index a798bd2..36af07c 100644 --- a/web/src/components/asset/Asset.js +++ b/web/src/components/asset/Asset.js @@ -339,7 +339,7 @@ class Asset extends Component { const protocol = record['protocol']; const name = record['name']; const sshMode = record['sshMode']; -alert(sshMode) + message.loading({content: '正在检测资产是否在线...', key: id}); let result = await request.post(`/assets/${id}/tcping`); if (result.code === 1) {