af-mobile-client-vue3 1.4.45 → 1.4.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,6 +40,7 @@ const {
40
40
  // 多选相关配置
41
41
  enableMultiSelect = false, // 是否启用多选功能
42
42
  multiSelectActions = [], // 多选操作按钮配置
43
+ showFilter = true,
43
44
  } = defineProps<{
44
45
  configName?: string
45
46
  fixQueryForm?: object
@@ -64,6 +65,7 @@ const {
64
65
  color?: string
65
66
  icon?: string
66
67
  }> // 多选操作按钮配置
68
+ showFilter?: boolean // 是否显示筛选模块
67
69
  }>()
68
70
 
69
71
  const emit = defineEmits<{
@@ -804,7 +806,7 @@ function emitFunc(func: any, data: any, value: any) {
804
806
 
805
807
  <template>
806
808
  <div id="XCellList">
807
- <VanRow class="filter-condition" :class="{ dark: isDark }">
809
+ <VanRow v-if="showFilter" class="filter-condition" :class="{ dark: isDark }">
808
810
  <!-- 左侧动态插槽区域 -->
809
811
  <template v-for="(_, name) in slots" :key="name">
810
812
  <template v-if="typeof name === 'string' && name.startsWith('search-left-')">
@@ -1283,6 +1283,7 @@ function scanCodeOrNfc(attr) {
1283
1283
  :attr="attr"
1284
1284
  :mode="props.mode"
1285
1285
  :readonly="readonly"
1286
+ :service-name="serviceName"
1286
1287
  :is-async-upload="isAsyncUpload"
1287
1288
  @update-file-list="updateFile"
1288
1289
  />