Browse Source

type number 问题

asd26269546 1 year ago
parent
commit
07b263fcf5
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/components/byForm/index.vue
  2. 1 1
      src/components/byTable/demo.vue

+ 1 - 0
src/components/byForm/index.vue

@@ -36,6 +36,7 @@
           :disabled="i.disabled ? i.disabled : false"
           :max="i.max"
           :min="i.min"
+          onmousewheel="return false;"
           :maxlength="i.maxlength"
           :readonly="i.readonly ? i.readonly : false"
           :style="i.style"

+ 1 - 1
src/components/byTable/demo.vue

@@ -291,7 +291,7 @@ const formConfig = computed(() => {
 			required: true,
 			itemWidth: 100,
 			//disabled:true,
-			itemType: 'textarea',
+			itemType: 'number',
 		},
 		{
 			type: 'table',