Get 60% off a year of Vue courses
简体中文
Appearance
Complete guide to
Mastering Pinia
written by its creator
API 文档 / pinia / StoreProperties
pinia.StoreProperties
store 的属性。
Id
string
StoreProperties
↳ _StoreWithState
_StoreWithState
• $id: Id
store 的唯一标识符
• _customProperties: Set<string>
Set
供 devtools 插件使用,用于检索插件添加的属性。 在生产环境中会被移除。 开发者可用于添加应在 devtools 中显示的 store 的属性键。