fix bug
This commit is contained in:
		@ -4,7 +4,7 @@
 | 
			
		||||
 * @Author       : Shiming
 | 
			
		||||
 * @Date         : 2022-01-25 16:03:45
 | 
			
		||||
 * @LastEditors  : Shiming
 | 
			
		||||
 * @LastEditTime : 2022-02-15 10:40:43
 | 
			
		||||
 * @LastEditTime : 2022-02-17 14:44:14
 | 
			
		||||
 * @FilePath     : \\tms-obc-web\\src\\app\\shared\\components\\dynamic-setting\\dynamic-setting-h5\\dynamic-setting-h5.component.ts
 | 
			
		||||
 * Copyright (C) 2022 huzhenhong. All rights reserved.
 | 
			
		||||
 */
 | 
			
		||||
@ -60,7 +60,7 @@ export class DynamicSettingH5Component implements OnInit {
 | 
			
		||||
    params = params.map((item: any) => {
 | 
			
		||||
      console.log(item);
 | 
			
		||||
      if (item.itemType == 9) {
 | 
			
		||||
        const files = item.itemValue?.map(({ url, name }: any) => ({ url, name }));
 | 
			
		||||
        const files = item.itemValue?.map(({ response, name }: any) => ({ url:response?.data?.fullFilePath, name }));
 | 
			
		||||
        return {
 | 
			
		||||
          ...item,
 | 
			
		||||
          remark: item.remark ? JSON.stringify(item.remark) : null,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user