This commit is contained in:
wangshiming
2022-03-09 14:29:59 +08:00
parent 70213fc40d
commit 3c39e4395e

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2022-03-09 14:05:33 * @Date : 2022-03-09 14:05:33
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-03-09 14:28:37 * @LastEditTime : 2022-03-09 14:29:50
* @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\note-management\\note-management.component.ts * @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\note-management\\note-management.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
*/ */
@ -47,7 +47,7 @@ export class NoTeManagementComponent implements OnInit {
}, },
{ title: '验证码', className: 'text-center', index: 'templateParam', { title: '验证码', className: 'text-center', index: 'templateParam',
format: (value) => { format: (value) => {
return JSON.parse(value.templateParam).code return JSON.parse(value?.templateParam)?.code
} }
}, },