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
- /** 父级传入的 v-model:规范为 [start, end],也可能为空数组 */
46
- export type DateRangeModelProp = DateRangeValue | []
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2server7",
3
- "version": "7.0.32",
3
+ "version": "7.0.33",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "nodemon --watch src --ext ts --exec \"ts-node src/app.ts\"",