|
|
@@ -198,10 +198,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
onAddDockerRegistry() {
|
|
|
- const formData = new FormData()
|
|
|
- formData.append('registryUrl', this.form.registryUrl)
|
|
|
- formData.append('repoAuthName', this.form.repoAuthName)
|
|
|
- addDockerRegistry(formData).then(resp => {
|
|
|
+ addDockerRegistry(this.form).then(resp => {
|
|
|
this.$message.info(resp.msg)
|
|
|
this.getData()
|
|
|
}).catch(error => {
|