From 5da57ebe0b9ee84e959eec20153b0886c9cc1f0d Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 11 Aug 2022 14:35:14 +0800
Subject: [PATCH] 去掉数字输入框后的加减按钮。农产品、加工产品、农资数字输入框不能为负数
---
src/App.vue | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 1697360..0cdfe86 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -27,4 +27,18 @@
.avue--detail .el-col{
margin-bottom: 0;
}
+ input::-webkit-inner-spin-button {
+ -webkit-appearance: none !important;
+
+ }
+
+ input::-webkit-outer-spin-button{
+ -webkit-appearance: none !important;
+
+ }
+
+ input[type="number"]{
+ -moz-appearance: textfield;
+
+ }
</style>
--
Gitblit v1.9.3