目前发现两处警告信息:
::v-deep usage as a combinator has been deprecated. Use :deep() instead.
the >>> and /deep/ combinators have been deprecated. Use :deep() instead.
实际上这是因为原来的深度选择器的写法在未来有极大的可能被废弃掉,所以不推荐大家再使用原来的写法,如:
::v-deep .el-icon{
height: inherit;
}
/deep/ .el-icon{
height: inherit;
}
正确的写法:
::v-deep(.el-icon){
height: inherit;
}
或
:deep(.el-icon){
height: inherit;
}