af-mobile-client-vue3 1.0.76 → 1.0.77

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.0.76",
4
+ "version": "1.0.77",
5
5
  "description": "Vue + Vite component lib",
6
6
  "license": "MIT",
7
7
  "engines": {
@@ -164,6 +164,7 @@ const localValue = computed({
164
164
  case 'citySelect':
165
165
  case 'calendar':
166
166
  case 'textarea':
167
+ case 'intervalPicker':
167
168
  case 'input':
168
169
  if (mode === '查询')
169
170
  return props.modelValue !== undefined ? props.modelValue : queryInputDefaultValue.value
@@ -382,7 +383,7 @@ function init() {
382
383
  initRadioValue()
383
384
  }
384
385
  }
385
- if (attr.type === 'radio' || attr.type === 'rate' || attr.type === 'slider' || attr.type === 'area' || attr.type === 'citySelect' || attr.type === 'calendar' || attr.type === 'textarea' || attr.type === 'input') {
386
+ if (attr.type === 'radio' || attr.type === 'rate' || attr.type === 'slider' || attr.type === 'area' || attr.type === 'citySelect' || attr.type === 'calendar' || attr.type === 'textarea' || attr.type === 'intervalPicker' || attr.type === 'input') {
386
387
  if (attr.formDefault)
387
388
  formInputDefaultValue.value = attr.formDefault
388
389
  if (attr.queryFormDefault)
@@ -845,10 +846,9 @@ watch(() => form, (_oldVal, _newVal) => {
845
846
 
846
847
  <!-- 文本输入框 -->
847
848
  <VanField
848
- v-if="attr.type === 'input' && showItem"
849
+ v-if="(attr.type === 'input' || attr.type === 'intervalPicker') && showItem"
849
850
  v-model="(localValue as string)"
850
851
  :label="labelData"
851
- :required="attr.rule.required"
852
852
  :type="attr.type"
853
853
  :readonly="readonly"
854
854
  :disabled="attr.disabled"
@@ -20,7 +20,7 @@ const serviceName = ref('af-system')
20
20
  // const serviceName = ref('af-system')
21
21
 
22
22
  // 实际业务测试
23
- // const configName = ref('orderCarOutMobileCRUD')
23
+ // const configName = ref('lngChargeAuditMobileCRUD')
24
24
  // const serviceName = ref('af-gaslink')
25
25
 
26
26
  // 跳转到详情页面