mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix(gateway): 修复测试网关端口数据类型:String改为Int类型
This commit is contained in:
@@ -110,7 +110,7 @@ export default {
|
||||
methods: {
|
||||
dialogConfirm() {
|
||||
this.buttonLoading = true
|
||||
this.$axios.post(`/api/v1/assets/gateways/${this.cellValue}/test-connective/`, { port: this.portInput }).then(
|
||||
this.$axios.post(`/api/v1/assets/gateways/${this.cellValue}/test-connective/`, { port: parseInt(this.portInput) }).then(
|
||||
res => {
|
||||
return this.$message.success(this.$t('common.TestSuccessMsg'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user