fix(cmdb-ui):triggers webhook headers (#402)

This commit is contained in:
dagongren 2024-02-26 13:46:40 +08:00 committed by GitHub
parent 513d2af4b8
commit 190170acad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,9 @@ export default {
} catch {} } catch {}
const headers = {} const headers = {}
this.$refs.Header.headers.forEach((item) => { this.$refs.Header.headers.forEach((item) => {
headers[item.key] = item.value if (item.key) {
headers[item.key] = item.value
}
}) })
let authorization = {} let authorization = {}
const type = this.$refs.Authorization.authorizationType const type = this.$refs.Authorization.authorizationType