uview-pro 0.6.5 → 0.6.6
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/changelog.md +10 -0
- package/components/u-calendar/u-calendar.vue +1 -2
- package/locale/lang/en-US.ts +1 -1
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 0.6.6(2026-06-10)
|
|
2
|
+
|
|
3
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
4
|
+
|
|
5
|
+
- **u-calendar:** 修复日历标题无法实时通过切换多语言更新的问题,初始化英文日历默认分隔符(#166) ([18beabb](https://github.com/anyup/uView-Pro/commit/18beabbd72c4e21eb19b417d09073bd87457cefc))
|
|
6
|
+
|
|
7
|
+
### 👥 Contributors
|
|
8
|
+
|
|
9
|
+
<a href="https://github.com/anyup"><img src="https://github.com/anyup.png?size=40" width="40" height="40" alt="anyup" title="anyup"/></a>
|
|
10
|
+
|
|
1
11
|
## 0.6.5(2026-06-05)
|
|
2
12
|
|
|
3
13
|
### 🐛 Bug Fixes | Bug 修复
|
|
@@ -275,7 +275,6 @@ const weekdayArr = ref<number[]>([]);
|
|
|
275
275
|
const days = ref(0);
|
|
276
276
|
const daysArr = ref<number[]>([]);
|
|
277
277
|
const lunarArr = ref<any[]>([]);
|
|
278
|
-
const showTitle = ref('');
|
|
279
278
|
const year = ref(2020);
|
|
280
279
|
const month = ref(0);
|
|
281
280
|
// 当前月有多少天
|
|
@@ -351,6 +350,7 @@ const btnDisable = computed(() => {
|
|
|
351
350
|
const getStartText = computed(() => props.startText || t('uCalendar.startText'));
|
|
352
351
|
const getEndText = computed(() => props.endText || t('uCalendar.endText'));
|
|
353
352
|
const getToolTip = computed(() => props.toolTip || t('uCalendar.toolTip'));
|
|
353
|
+
const showTitle = computed(() => `${year.value}${t('uCalendar.year')}${month.value}${t('uCalendar.month')}`);
|
|
354
354
|
|
|
355
355
|
watch([dataChange, lunarChange], () => {
|
|
356
356
|
init();
|
|
@@ -817,7 +817,6 @@ function changeData() {
|
|
|
817
817
|
daysArr.value = generateArray(1, days.value);
|
|
818
818
|
weekday.value = getWeekday(year.value, month.value);
|
|
819
819
|
weekdayArr.value = generateArray(1, weekday.value);
|
|
820
|
-
showTitle.value = `${year.value}${t('uCalendar.year')}${month.value}${t('uCalendar.month')}`;
|
|
821
820
|
if (props.showLunar) {
|
|
822
821
|
lunarArr.value = [];
|
|
823
822
|
daysArr.value.forEach(d => {
|
package/locale/lang/en-US.ts
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "uview-pro",
|
|
3
3
|
"name": "uview-pro",
|
|
4
4
|
"displayName": "【支持鸿蒙】uView Pro|基于Vue3+TS的高质量UI组件库,支持多主题、暗黑模式、多语言",
|
|
5
|
-
"version": "0.6.
|
|
5
|
+
"version": "0.6.6",
|
|
6
6
|
"description": "uView Pro是基于Vue3+TS的多平台UI框架,提供80+高质量组件、便捷工具和常用模板,支持多主题、暗黑模式、多语言,支持H5/APP/鸿蒙/小程序多端开发。已在鸿蒙应用商店上架,欢迎体验!",
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"module": "index.ts",
|