nextjs 开发的前端 next dev 没问题,但是 next build 怎么也过不了,报错很奇怪

查看 15|回复 0
作者:xinmans   
Failed to compile.
./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",
            },
          ]}
        >
您需要登录后才可以回帖 登录 | 立即注册

返回顶部