/deep/ input::-webkit-outer-spin-button,/deep/ input::-webkit-inner-spin-button { -webkit-appearance: none !important;}/deep/ input[type="number"] { -moz-appearance: textfield !important;}去除input t._type=number 怎么去除- + ">
赞
踩
- <style lang="scss" scoped>
- /deep/ input::-webkit-outer-spin-button,
- /deep/ input::-webkit-inner-spin-button {
- -webkit-appearance: none !important;
- }
- /deep/ input[type="number"] {
- -moz-appearance: textfield !important;
- }
- </style>
去除input type=number时的小箭头
- <el-input
-
- oninput="value=value.indexOf('.') > -1?value.slice(0, value.indexOf('.') + 3):value"
-
- maxlength="9"
-
- v-model.trim="setting.avgRespIndex"
-
- style="width: 150px"
-
- type="number"
- >
- </el-input>
使用elementUI框架时候的遇到的问题: 需要保留两位小数的情况
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。