af-mobile-client-vue3 1.3.68 → 1.3.69
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 +1 -1
- package/src/components/data/XFormItem/index.vue +2 -2
- package/src/router/routes.ts +421 -421
- package/src/utils/queryFormDefaultRangePicker.ts +57 -57
- package/src/views/component/XCellListView/index.vue +19 -44
- package/src/views/component/XFormGroupView/index.vue +78 -82
- package/src/views/component/XFormView/index.vue +41 -42
- package/src/views/component/XOlMapView/XLocationPicker/index.vue +118 -118
package/package.json
CHANGED
|
@@ -424,7 +424,7 @@ function updateFile(files, _index) {
|
|
|
424
424
|
|
|
425
425
|
// 表单校验的类型校验
|
|
426
426
|
function formTypeCheck(attr, value) {
|
|
427
|
-
if (mode === '查询')
|
|
427
|
+
if (mode === '查询' || mode === '预览')
|
|
428
428
|
return
|
|
429
429
|
// if (!attr.rule || !attr.rule.required || attr.rule.required === 'false')
|
|
430
430
|
// return
|
|
@@ -575,7 +575,7 @@ const readonly = computed(() => {
|
|
|
575
575
|
})
|
|
576
576
|
// 提示内容
|
|
577
577
|
const placeholder = computed(() => {
|
|
578
|
-
if (attr.addOrEdit === 'readonly')
|
|
578
|
+
if (attr.addOrEdit === 'readonly' || mode === '预览')
|
|
579
579
|
return '暂无内容 ~ '
|
|
580
580
|
else
|
|
581
581
|
return attr.placeholder ? attr.placeholder : `请选择${attr.name}`
|