Skip to content

Commit

Permalink
feat: wechat template reinforce
Browse files Browse the repository at this point in the history
  • Loading branch information
aide-cloud committed Apr 29, 2024
1 parent e9078a9 commit 057e87f
Show file tree
Hide file tree
Showing 5 changed files with 718 additions and 15 deletions.
26 changes: 13 additions & 13 deletions web/src/apis/data.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button } from 'antd'
import { Button, Space } from 'antd'
import {
Category,
DatasourceType,
Expand Down Expand Up @@ -128,40 +128,40 @@ export const NotifyTemplateTypeData: Record<
React.ReactNode
> = {
[NotifyTemplateType.NotifyTemplateTypeEmail]: (
<span>
<Space size={8}>
<IconFont type="icon-youjian" />
邮件
</span>
</Space>
),
[NotifyTemplateType.NotifyTemplateTypeCustom]: (
<span>
<Space size={8}>
<IconFont type="icon-zidingyi" />
自定义hook
</span>
</Space>
),
[NotifyTemplateType.NotifyTemplateTypeDingDing]: (
<span>
<Space size={8}>
<IconFont type="icon-dingding" />
钉钉
</span>
</Space>
),
[NotifyTemplateType.NotifyTemplateTypeSms]: (
<span>
<Space size={8}>
<IconFont type="icon-duanxin" />
短信
</span>
</Space>
),
[NotifyTemplateType.NotifyTemplateTypeFeiShu]: (
<span>
<Space size={8}>
<IconFont type="icon-feishu" />
飞书
</span>
</Space>
),
[NotifyTemplateType.NotifyTemplateTypeWeChatWork]: (
<span>
<Space size={8}>
<IconFont type="icon-qiyeweixin" />
企业微信
</span>
</Space>
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ export const EmailTemplateEditor: React.FC<EmailTemplateEditorProps> = (

useEffect(() => {
init()
console.log('init')
}, [])

return (
Expand Down
Loading

0 comments on commit 057e87f

Please sign in to comment.