.disabled {
pointer-events: none;
& ::v-deep * {
pointer-events: none;
}
}
.disabledCursor {
cursor: not-allowed;
& ::v-deep * {
cursor: not-allowed;
}
}
因为是套用了element框架组件所以需要击穿样式设置下级样式
同时配套使用鼠标样式
.disabled {
pointer-events: none;
& ::v-deep * {
pointer-events: none;
}
}
.disabledCursor {
cursor: not-allowed;
& ::v-deep * {
cursor: not-allowed;
}
}
因为是套用了element框架组件所以需要击穿样式设置下级样式
同时配套使用鼠标样式