@tplc/business 0.7.90 → 0.7.91

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.7.91](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.90...v0.7.91) (2026-01-24)
6
+
5
7
  ### [0.7.90](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.88...v0.7.90) (2026-01-24)
6
8
 
7
9
 
@@ -113,7 +113,6 @@ const tags = ref<{ label: string; value: number | undefined }[]>([])
113
113
  // 使用 defineModel 控制弹窗显示
114
114
  const visible = defineModel<boolean>({ default: false })
115
115
 
116
- const calendarViewRef = ref<CalendarViewExpose>()
117
116
  const innerTimes = ref<number[]>([])
118
117
  const innerCustomNights = ref<number | undefined>(undefined)
119
118
  const activeRoomIndex = ref(0)
@@ -190,11 +189,15 @@ const handleRoomPriceCalendarData = (data: RoomPriceCalendarResponse) => {
190
189
  }
191
190
 
192
191
  // 监听弹窗打开
193
- watch(visible, (val) => {
194
- if (val) {
195
- queryRoomPriceCalendar()
196
- }
197
- })
192
+ watch(
193
+ visible,
194
+ (val) => {
195
+ if (val) {
196
+ queryRoomPriceCalendar()
197
+ }
198
+ },
199
+ { immediate: true },
200
+ )
198
201
 
199
202
  // 确认按钮是否禁用
200
203
  const confirmDisabled = computed(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.90",
3
+ "version": "0.7.91",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],