af-mobile-client-vue3 1.1.13 → 1.1.14
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
|
@@ -388,6 +388,7 @@ const formatDate = date => `${date.getFullYear()}-${date.getMonth() + 1}-${date.
|
|
|
388
388
|
|
|
389
389
|
function onCalendarConfirm(values) {
|
|
390
390
|
localValue.value = [formatDate(values[0]), formatDate(values[1])]
|
|
391
|
+
pickerValue.value = `${formatDate(values[0])} ~ ${formatDate(values[1])}`
|
|
391
392
|
calendarShow.value = false
|
|
392
393
|
}
|
|
393
394
|
|
|
@@ -446,7 +447,7 @@ function init() {
|
|
|
446
447
|
}
|
|
447
448
|
if (attr.queryFormDefault) {
|
|
448
449
|
// console.log(querySelectDefaultValue.value)
|
|
449
|
-
querySelectDefaultValue.value.push(attr.queryFormDefault)
|
|
450
|
+
querySelectDefaultValue.value.push(...attr.queryFormDefault)
|
|
450
451
|
// querySelectDefaultValue.value = attr.queryFormDefault
|
|
451
452
|
}
|
|
452
453
|
}
|
|
@@ -806,7 +807,7 @@ function handleAddressConfirm(location) {
|
|
|
806
807
|
<!-- 日历选择-查询 -->
|
|
807
808
|
<VanField
|
|
808
809
|
v-if="attr.type === 'rangePicker' && mode === '查询' && showItem"
|
|
809
|
-
v-model="(
|
|
810
|
+
v-model="(pickerValue as string | number)"
|
|
810
811
|
is-link
|
|
811
812
|
readonly
|
|
812
813
|
name="rangePicker"
|