修复el-slider滑块不能显示的问题

This commit is contained in:
轻风2016 2024-08-30 15:15:44 +08:00
parent cdf356fc16
commit 8bb2c05b4e
3 changed files with 9 additions and 0 deletions

View File

@ -160,6 +160,9 @@
:deep(.el-input-number) {
width: 100%;
}
:deep(.el-slider .el-input-number){
width: auto;
}
</style>
<script lang="ts" setup>

View File

@ -390,6 +390,9 @@
:deep(.el-input-number) {
width: 100%;
}
:deep(.el-slider .el-input-number){
width: auto;
}
</style>
@{

View File

@ -463,4 +463,7 @@ const handleDelete = (row: any) => {
:deep(.el-input-number) {
width: 100%;
}
:deep(.el-slider .el-input-number){
width: auto;
}
</style>