lockIcon 属性已被 licenseOnly 替代
🌐 lockIcon property replaced by licenseOnly
Page summary:在 Strapi 5 中,
lockIcon属性在管理面板 API 方法addMenuLink()、addSettingsLink()和addSettingsLinks()中被licenseOnly所取代,显示一个闪电图标以表示 付费功能。🌐 In Strapi 5, the
lockIconproperty is replaced bylicenseOnlyin the Admin Panel API methodsaddMenuLink(),addSettingsLink(), andaddSettingsLinks(), displaying a lightning icon to indicate paid features.
Strapi 5 添加了一个新的 licenseOnly 布尔属性,用于在 addSettingsLink 和 addSettingsLinks 操作中传递 addMenuLink。添加此属性会在链接附近显示一个闪电 ⚡️ 图标,并表示付费功能。
🌐 Strapi 5 adds a new licenseOnly boolean property to pass in the addMenuLink, in the addSettingsLink and in the addSettingsLinks actions. Adding this property shows a lightning ⚡️ icon near the link, and indicates paid features.
在 Strapi v4 中,通过添加 lockIcon 属性可以实现类似的结果。
🌐 A similar result can be achieved in Strapi v4 by adding the lockIcon property.
此页面是重大更改数据库的一部分,提供关于重大更改的信息以及从 Strapi v4 迁移到 Strapi 5 的附加说明。
🌐 This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.