Browse Source

参数类型判断

CzRger 1 month ago
parent
commit
151f8b8f0c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/web/config/rule-detail.vue

+ 1 - 0
src/views/web/config/rule-detail.vue

@@ -63,6 +63,7 @@
                 v-model:param="scope.row.value"
                 :default-error-msg="'请输入' + scope.row.name"
                 link="number"
+                :decimal="scope.row.type == 'Double' ? 2 : 0"
                 :placeholder="'推荐值:' + scope.row.recommendValue"
               />
             </template>