会出现 ::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ::v-deep <inner-selector>.的报错
::v-depth用作组合子已被弃用。使用:deep(<内部选择器>)而不是::v-deep<内部选择器>。
需要改成:deep(class),示例代码如下
:deep(.el-checkbox__label){ font-size: 16px !important; } :deep(.apiSecretDialog .el-dialog__footer){ padding-top: 0; text-align: center; }
标签:__,el,vue3,deep,生效,选择器 From: https://www.cnblogs.com/fhysy/p/17874919.html