首页 > 其他分享 >Variable @primary-color-hover is undefined

Variable @primary-color-hover is undefined

时间:2022-11-17 17:34:08浏览次数:44  
标签:hover color pro primary ant design Variable table

antd安装启动后报错Variable @primary-color-hover is undefined

报错前package.json中依赖版本信息:

"dependencies": {
    ...
    "@ant-design/pro-form": "^1.15.1",
    "@ant-design/pro-layout": "^6.15.0",
    "@ant-design/pro-table": "^2.27.1",
    "antd": "4.9.4",
  },

错误原因:@ant-design/pro-layout@ant-design/pro-table包版本导致的,锁定为固定版本就可以了

"dependencies": {
...
"@ant-design/pro-form": "^1.15.1",
"@ant-design/pro-layout": "6.15.0",
"@ant-design/pro-table": "2.27.1",
"antd": "4.9.4",
},


[相关错误issue](https://github.com/ant-design/pro-components/issues/4343)

标签:hover,color,pro,primary,ant,design,Variable,table
From: https://www.cnblogs.com/sk-3/p/16900177.html

相关文章

  • [Typescript] Variable assignment - extends infer X
    Youcanuse`extendsinferX`toassigntheresultofanexpressiontoavariabletypeSomeFunction<U>=SuperHeavyComputation<U>extendsinferResult......
  • Cesium之ColorMaterialProperty颜色材质属性
    Cesium自定义材质Material以及一些思考:https://blog.csdn.net/GhostPaints/article/details/124382690Cesium中自定义材质(以飞线材质为例):https://blog.csdn.net/qq_332352......
  • 75.Sort Colors
    Givenanarraywith n objectscoloredred,whiteorblue,sortthemsothatobjectsofthesamecolorareadjacent,withthecolorsintheorderred,white......
  • CF1027E Inverse Coloring
    考场上没敲出来(其实想到就挺好写的捏组数据手动模拟一下:\(\begin{bmatrix}1&0&1&1&1&0&1\\1&0&1&1&1&0&1\\0&1&0&0&0&1&0\\1&0&1&1&1&0&1\\0&1&0&0&0&1&0\\0......
  • SpringMVC-解析@PathVariable
    DispatcherServlet.doService去处理请求时,调用getHandler去获取匹配请求的handle。会调用RequestMappingInfoHandlerMapping.handleMatch,这个方法会调用extractMatchDetai......
  • element ui的表格内容hover展示两行的写法
     使用之前去掉show-overflow-tooltip无法设置hover状态时的样式,改用el-tooltip<el-table-columnlabel="核心使用场景"min-width='300'><templatescope="s......
  • PAT (Advanced Level) Practise 1027 Colors in Mars (20)
    1027.ColorsinMars(20)时间限制400ms内存限制65536kB代码长度限制16000B判题程序Sta......
  • Swap two variables without intermediate variable
     #swaptwovariableswithoutintermediatevariable,butintermediatevariableisapplicabletovarioussituations(evenwithcomplexobjects)#thetwomethod......
  • Python Colorama
    此处借用CSND上的一篇博文作为使用说明,连接为:https://blog.csdn.net/qq_23845779/article/details/105991806该库的主要作用就是用来改变命令行或者控制台输出文字色彩的,......
  • ERROR 1231 (42000): Variable 'character_set_client' can't be set to the value of
    报错内容使用mysqldump备份数据库导入报如下错误mysql>source/root/test.sql...省略...ERROR1231(42000):Variable'character_set_client'can'tbesettothe......