删除新增服务弹窗的用户、密码输入框
This commit is contained in:
@@ -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 }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user