format: format code

pull/5464/head
xx 1 week ago
parent 7add28ebd9
commit b0910138f3

@ -15,9 +15,6 @@ class DingDing extends NotificationProvider {
const mobileList = notification.mentioning === "specify-mobiles" ? notification.mobileList.split(",") : [] const mobileList = notification.mentioning === "specify-mobiles" ? notification.mobileList.split(",") : []
const userList = notification.mentioning === "specify-users" ? notification.userList.split(",") : [] const userList = notification.mentioning === "specify-users" ? notification.userList.split(",") : []
const mentionStr = [...mobileList || [], ...userList || []].map(item => `@${item}`).join(" ") const mentionStr = [...mobileList || [], ...userList || []].map(item => `@${item}`).join(" ")
console.log('mobileList: ',mobileList)
console.log('userList: ',userList)
console.log('mentionStr: ',mentionStr)
try { try {
if (heartbeatJSON != null) { if (heartbeatJSON != null) {
notification.mobileList notification.mobileList

Loading…
Cancel
Save