-
antd form label 定宽 同时设置span和style即可
1 需要设置span,style才生效
2 style优先级更好 会使得span失效
:labelCol=’{span:1,style:“width:100px”}’ wrapperCol同理 -
antd chrome 出现字体模糊 (只有chrome) 关闭a-table scroll
-
css强制换行 ;word-break:break-all;word-wrap: break-word;white-space:normal
-
三目运算符的连续使用
-
vant 孙组件指定挂载节点 get-container=’#app’ 需配合css 绝对定位 // 修改遮罩层覆盖
::v-deep .van-overlay {
position: absolute;
}
::v-deep .van-popup {
position: absolute;
}
- https://github.com/vueComponent/ant-design-vue/issues/3042
引入antd时 引入 import “ant-design-vue/dist/antd.css” 其依赖文件base.less会改变默认css样式
相关解决方案
https://zhuanlan.zhihu.com/p/126316825
https://zhuanlan.zhihu.com/p/50796186