|
@@ -31,8 +31,6 @@ export default {
|
|
const res = await this.ping({ address: this.ip })
|
|
const res = await this.ping({ address: this.ip })
|
|
if (res && res.errcode === 0) {
|
|
if (res && res.errcode === 0) {
|
|
this.$message.success('连接成功')
|
|
this.$message.success('连接成功')
|
|
- } else {
|
|
|
|
- this.$message.error(res.errmsg)
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|