实现效果
代码
<el-input-number class="toAddM" :controls="false" v-model="Area" />
.toAddM {
:deep(.el-input__wrapper::after) {
content: 'm²';
// padding-left: 10px;
width: 20px;
}
}
<el-input-number class="toAddM" :controls="false" v-model="Area" />
.toAddM {
:deep(.el-input__wrapper::after) {
content: 'm²';
// padding-left: 10px;
width: 20px;
}
}