feat: 一些调整
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
<script setup>
|
||||
import QuickBookingContentList from './QuickBookingContentList.vue'
|
||||
import { defineProps, ref } from 'vue'
|
||||
import { ref, nextTick } from 'vue'
|
||||
import { onMounted } from 'vue'
|
||||
import { quickBookingComponent } from '../../request/api/QuickBookingComponent'
|
||||
import { SCROLL_TO_BOTTOM } from '../../constant/constant'
|
||||
@@ -23,7 +23,10 @@
|
||||
const res = await quickBookingComponent('2025-07-29')
|
||||
if(res.code === 0 && res.data) {
|
||||
commodityGroupDTOList.value.push(...res.data.commodityGroupDTOList)
|
||||
uni.$emit(SCROLL_TO_BOTTOM, true)
|
||||
|
||||
nextTick(() => {
|
||||
uni.$emit(SCROLL_TO_BOTTOM, true)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user