vue2-client 1.12.73 → 1.12.74
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
|
@@ -73,7 +73,19 @@ export default ({
|
|
|
73
73
|
return {
|
|
74
74
|
currentDate: this.modelValue, // 当前选中日期
|
|
75
75
|
baseDate: dayjs().format('YYYY-MM-DD'), // 基准日期,默认今天,用于计算显示范围
|
|
76
|
-
config:
|
|
76
|
+
config: {
|
|
77
|
+
// 基础配置
|
|
78
|
+
range: null, // 显示的天数范围,默认7天
|
|
79
|
+
dateFormat: null, // 日期显示格式
|
|
80
|
+
weekFormat: null, // 星期显示格式
|
|
81
|
+
// 按钮文字配置
|
|
82
|
+
prevWeekText: null,
|
|
83
|
+
nextWeekText: null,
|
|
84
|
+
prevDayText: null,
|
|
85
|
+
nextDayText: null,
|
|
86
|
+
// 周末高亮配置
|
|
87
|
+
highlightWeekend: true
|
|
88
|
+
},
|
|
77
89
|
disabledDates: [] // 禁用日期列表
|
|
78
90
|
}
|
|
79
91
|
},
|