diff --git a/src/styles/index.scss b/src/styles/index.scss index f471a55..4973408 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -95,4 +95,16 @@ align-items: center; font-size: 16px; } +} + +/* 去除 Chrome、Safari、Edge、Opera 中的指示器 */ +.el-input__inner::-webkit-outer-spin-button, +.el-input__inner::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +/* 去除 Firefox 中的指示器 */ +.el-input__inner[type='number'] { + -moz-appearance: textfield; } \ No newline at end of file