feat: 修改加载慢问题

pull/252/head
raofuzi 2 years ago
parent 88e2cbb7b1
commit 87063d3bf2

@ -351,9 +351,7 @@ async function refreshHandler() {
if (!taskId.value) if (!taskId.value)
return return
const taskPackage = taskStore.getApprovalList[taskStore.getCurrentIndex] || {} const taskPackage = taskStore.getApprovalList[taskStore.getCurrentIndex] || {}
console.log('getTaskDetailInfo接收到的', taskStore.getCurrentIndex, taskStore.currentIndex, taskPackage, taskPackage.packageid, taskPackage?.taskIndex)
taskDetailInfo.value = await getTaskDetailInfo(taskId.value, taskPackage.packageid, taskPackage?.taskIndex || '') taskDetailInfo.value = await getTaskDetailInfo(taskId.value, taskPackage.packageid, taskPackage?.taskIndex || '')
console.log('taskDetailInfo.value接收到的', taskDetailInfo.value)
nextTick(() => { nextTick(() => {
setTimeout(() => { setTimeout(() => {
useInfiniteScroll( useInfiniteScroll(

Loading…
Cancel
Save