删除新增服务弹窗的用户、密码输入框
This commit is contained in:
@@ -174,21 +174,6 @@ export default {
|
|||||||
span: 12
|
span: 12
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
userName: {
|
|
||||||
title: '用户名',
|
|
||||||
value: 'admin',
|
|
||||||
component: {
|
|
||||||
span: 12
|
|
||||||
}
|
|
||||||
},
|
|
||||||
password: {
|
|
||||||
title: '密码',
|
|
||||||
value: '123456',
|
|
||||||
component: {
|
|
||||||
span: 12,
|
|
||||||
'show-password': true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
address: {
|
address: {
|
||||||
title: '绑定地址',
|
title: '绑定地址',
|
||||||
value: '',
|
value: '',
|
||||||
@@ -255,7 +240,7 @@ export default {
|
|||||||
if (this.formOptions.saveButtonText === '测试') {
|
if (this.formOptions.saveButtonText === '测试') {
|
||||||
this.serverSettings = await this.$api.VERIFY_SERVER(
|
this.serverSettings = await this.$api.VERIFY_SERVER(
|
||||||
'http://' + row.url + ':' + row.port,
|
'http://' + row.url + ':' + row.port,
|
||||||
row.userName,
|
'admin',
|
||||||
process.env.VUE_APP_HSLSERVER_PASSWORD
|
process.env.VUE_APP_HSLSERVER_PASSWORD
|
||||||
)
|
)
|
||||||
if (this.serverSettings) {
|
if (this.serverSettings) {
|
||||||
@@ -279,7 +264,7 @@ export default {
|
|||||||
this.serverSettings.Content.ServerInfoConfig.CaptureURL = row.address
|
this.serverSettings.Content.ServerInfoConfig.CaptureURL = row.address
|
||||||
this.$api.MODIFY_SERVER(
|
this.$api.MODIFY_SERVER(
|
||||||
'http://' + row.url + ':' + row.port,
|
'http://' + row.url + ':' + row.port,
|
||||||
row.userName,
|
'admin',
|
||||||
process.env.VUE_APP_HSLSERVER_PASSWORD,
|
process.env.VUE_APP_HSLSERVER_PASSWORD,
|
||||||
{ data: this.serverSettings.Content }
|
{ data: this.serverSettings.Content }
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user