Showing
1 changed file
with
3 additions
and
1 deletions
@@ -43,7 +43,9 @@ export const descSchema = (emit: EmitType): DescItem[] => { | @@ -43,7 +43,9 @@ export const descSchema = (emit: EmitType): DescItem[] => { | ||
43 | type: 'link', | 43 | type: 'link', |
44 | style: { padding: 0 }, | 44 | style: { padding: 0 }, |
45 | onClick: () => | 45 | onClick: () => |
46 | - !isCustomer ? go(PageEnum.DEVICE_PROFILE + '?name=' + String(val)) : '', | 46 | + !isCustomer |
47 | + ? go(PageEnum.DEVICE_PROFILE + '?name=' + encodeURIComponent(String(val))) | ||
48 | + : '', | ||
47 | }, | 49 | }, |
48 | { default: () => val } | 50 | { default: () => val } |
49 | ); | 51 | ); |