Showing
1 changed file
with
1 additions
and
1 deletions
@@ -242,7 +242,7 @@ export function fetchResourceInfo() { | @@ -242,7 +242,7 @@ export function fetchResourceInfo() { | ||
242 | P_PARAM: content_code, | 242 | P_PARAM: content_code, |
243 | F_URL: item.url, | 243 | F_URL: item.url, |
244 | I_INDEX: index + 1, | 244 | I_INDEX: index + 1, |
245 | - F_ID:json[0].template_id, | 245 | + F_ID: json.length > 0 ? json[0].template_id : "", |
246 | exposureEnd: 1 | 246 | exposureEnd: 1 |
247 | }; | 247 | }; |
248 | return item | 248 | return item |
-
Please register or login to post a comment