取消element中input type=number中的預設箭頭

only_books發表於2024-10-17

::v-deep input::-webkit-outer-spin-button,
::v-deep input::-webkit-inner-spin-button {
-webkit-appearance: none !important;
}
::v-deep input[type=‘number’] {
-moz-appearance: textfield !important;
}

參考https://blog.csdn.net/like245660/article/details/123988623

相關文章