fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-03-09 14:05:33 | ||||
|  * @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 | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
| @ -47,7 +47,7 @@ export class NoTeManagementComponent implements OnInit { | ||||
|     }, | ||||
|     { title: '验证码', className: 'text-center', index: 'templateParam', | ||||
|     format: (value) => { | ||||
|       return JSON.parse(value.templateParam).code | ||||
|       return JSON.parse(value?.templateParam)?.code | ||||
|     } | ||||
|    | ||||
|   }, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user