Shopify 开发者更新·· 2 天前精选AI 评分72
Shopify 全页扩展 Navigation API 变更:event.from 将返回上一页而非目标页
currententrychange now returns the previous page in event.from for customer account full-page extensions
AI 导读
Shopify 在 API version 2027-01 中变更了 customer account full-page extensions 的 Navigation API,`currententrychange` 事件中的 `event.from` 属性将从原来的“目标页”变为“上一页”。
推荐理由
针对 Shopify 全页扩展开发者的 API 变更提醒,需将 event.from 替换为 shopify.navigation.currentEntry 以适配 2027-01 版本。
来源:Shopify 开发者更新 · shopify.dev