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 7474a92377
commit ef1d0c34cf

View File

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