删除新增服务弹窗的用户、密码输入框

This commit is contained in:
wu
2022-08-23 10:39:15 +08:00
parent 5403b4699b
commit a35532f8e7

View File

@@ -174,21 +174,6 @@ export default {
span: 12
}
},
userName: {
title: '用户名',
value: 'admin',
component: {
span: 12
}
},
password: {
title: '密码',
value: '123456',
component: {
span: 12,
'show-password': true
}
},
address: {
title: '绑定地址',
value: '',
@@ -255,7 +240,7 @@ export default {
if (this.formOptions.saveButtonText === '测试') {
this.serverSettings = await this.$api.VERIFY_SERVER(
'http://' + row.url + ':' + row.port,
row.userName,
'admin',
process.env.VUE_APP_HSLSERVER_PASSWORD
)
if (this.serverSettings) {
@@ -279,7 +264,7 @@ export default {
this.serverSettings.Content.ServerInfoConfig.CaptureURL = row.address
this.$api.MODIFY_SERVER(
'http://' + row.url + ':' + row.port,
row.userName,
'admin',
process.env.VUE_APP_HSLSERVER_PASSWORD,
{ data: this.serverSettings.Content }
)