我正在尝试使用 Gatsby 的 /___graphq 调试器和gatsby-source-prismic的 README 文件说你可以返回切片。所以下面我将返回一个名称为 PrismicProductBodySteps 的切片。
{
allPrismicHomePage {
edges {
node {
data {
seo_title
body {
__typename
... on PrismicProductBodySteps {
}
}
}
}
}
}
}
}
有人可以向我解释... on PrismicProductBodySteps 是什么意思吗?
在 gatsby 组件中,我将其视为示例。
body {
... on PrismicProductsBodySteps {
...ProductStepsFragment
}
谁能向我解释 ...ProductStepsFragment 的含义?