Showing
1 changed file
with
2 additions
and
2 deletions
| ... | ... | @@ -121,7 +121,7 @@ export const formSchema: FormSchema[] = [ |
| 121 | 121 | api: async (params: Recordable) => { |
| 122 | 122 | try { |
| 123 | 123 | const result = await findDictItemByCode(params as any); |
| 124 | - return result.filter((item) => item.itemValue !== 'DINGTALK_MESSAGE'); | |
| 124 | + return result.filter((item) => item.itemValue !== 'DING_TALK'); | |
| 125 | 125 | } catch (e) { |
| 126 | 126 | // eslint-disable-next-line no-console |
| 127 | 127 | console.error(e); |
| ... | ... | @@ -146,7 +146,7 @@ export const formSchema: FormSchema[] = [ |
| 146 | 146 | api: async (params: Recordable) => { |
| 147 | 147 | try { |
| 148 | 148 | const result = await findDictItemByCode(params as any); |
| 149 | - return result.filter((item) => item.itemValue === 'DINGTALK_MESSAGE'); | |
| 149 | + return result.filter((item) => item.itemValue === 'DING_TALK'); | |
| 150 | 150 | } catch (e) { |
| 151 | 151 | // eslint-disable-next-line no-console |
| 152 | 152 | console.error(e); | ... | ... |