./pages/index.tsx:120:37
Type error: Property 'rev' is missing in type '{}' but required in type 'Pick'.
118 | }}
119 | >
> 120 | }>
| ^
121 | 首页
122 |
123 | }>
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
{
setShowHome(key === "" || key === "0");
setShowV2ex(key === "2");
setShowT66y(key === "3");
setShowSearch(key === "1");
setShowAwsblog(key === "4");
setShowAwsblogcn(key === "5");
}}
items={[
{
key: "0",
icon: ,
label: "首页",
},
{
key: "1",
icon: ,
label: "搜索",
},
{
key: "2",
icon: ,
label: "abc",
},
{
key: "3",
icon: ,
label: "abc",
},
{
key: "4",
icon: ,
label: "abc",
},
{
key: "5",
icon: ,
label: "abc",
},
]}
>