Răsfoiți Sursa

列表下拉框模糊查询改为精准查询

shenqilong 11 luni în urmă
părinte
comite
65083846c2

+ 1 - 1
src/business/platform/data/templaterender/templates/list.vue

@@ -1574,7 +1574,7 @@ export default {
                     fieldType: 'numberRange'
                 })
             } else if (fieldType === 'radio' || fieldType === 'checkbox' || fieldType === 'select') {
-                querySuffix = fieldType === 'radio' ? 'S' : 'SL'
+                querySuffix = fieldType === 'radio' || fieldType === 'select' ? 'S' : 'SL'
                 const prop = `Q^${field.name}^${querySuffix}`
                 searchColumn = Object.assign(searchColumn, {
                     prop: prop,