perf: change >>> ::v-deep

This commit is contained in:
花裤衩
2020-06-08 20:39:45 +08:00
parent 534cd5bc26
commit c5abe7532c
3 changed files with 41 additions and 23 deletions

View File

@@ -48,14 +48,18 @@ export default {
}
</script>
<style scoped>
.drag-select >>> .sortable-ghost {
opacity: .8;
color: #fff!important;
background: #42b983!important;
}
<style lang="scss" scoped>
.drag-select {
::v-deep {
.sortable-ghost {
opacity: .8;
color: #fff !important;
background: #42b983 !important;
}
.drag-select >>> .el-tag {
cursor: pointer;
.el-tag {
cursor: pointer;
}
}
}
</style>