::v-deep usage as a combinator has been deprecated

原创
前端路迹
2022-10-24 14:21
编辑于 2022-10-24 14:23
:deep {
        .el-form-item__label {
            color: #fff;
        }
}

提示

[@vue/compiler-sfc] ::v-deep usage as a combinator has been deprecated. Use :deep() instead.

正确的使用是:

:deep() {
        .el-form-item__label {
            color: #fff;
        }
}
转载请注明出处。本文地址: https://www.qinshenxue.com/article/v-deep-usage-as-a-combinator-has-been-deprecated.html
关注我的公众号