chore: 更新导航链接类型定义信息,添加 _data 和 _key 属性
This commit is contained in:
4
types/web.d.ts
vendored
4
types/web.d.ts
vendored
@@ -27,6 +27,10 @@ declare global {
|
|||||||
showOnly?: boolean;
|
showOnly?: boolean;
|
||||||
/** 链接项 URL */
|
/** 链接项 URL */
|
||||||
url?: string;
|
url?: string;
|
||||||
|
/** 自身数据,备用 */
|
||||||
|
_data?: NavLinkItem;
|
||||||
|
/** 处理后生成的唯一 ID */
|
||||||
|
_key?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
// window
|
// window
|
||||||
|
Reference in New Issue
Block a user