vue2server7 7.0.32 → 7.0.33
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.
|
@@ -42,8 +42,11 @@ import { ref, watch, computed } from 'vue'
|
|
|
42
42
|
|
|
43
43
|
export type DateRangeValue = [string | null, string | null]
|
|
44
44
|
|
|
45
|
-
/**
|
|
46
|
-
|
|
45
|
+
/**
|
|
46
|
+
* 父级 v-model:约定前两格为 [start, end]。
|
|
47
|
+
* 使用 ReadonlyArray 以兼容表单里的 `string[]`、空数组等(避免 `DateRangeValue | []` 与 `string[]` 不兼容)。
|
|
48
|
+
*/
|
|
49
|
+
export type DateRangeModelProp = ReadonlyArray<string | null>
|
|
47
50
|
|
|
48
51
|
export type MaxSpanDaysInput = number | [number]
|
|
49
52
|
|