/deep/和>>>等效,如果使用这个不生效的话就换另一个
<style scoped>
.commit-save /deep/ .el-loading-spinner .path{
stroke: #1f8d61 !important;
}
/* 如果/deep/无效,就换>>> */
.commit-save >>> .el-loading-spinner .path{
stroke: #1f8d61 !important;
}
</style>
如果lang="scss",就不能使用/deep/和>>>,要使用 ::v-deep
<style lang="scss" scoped>
.commit-save ::v-deep .el-loading-spinner {
.path {
stroke: #1f8d61 !important;
}
}
</style>