|
|
@ -66,6 +66,7 @@ const targetTaskId = computed(() => store.state.task.targetTaskId); // 前需要 |
|
|
|
onMounted(() => { |
|
|
|
const system = uni.getSystemInfoSync(); |
|
|
|
height.value = `${system.screenHeight}px`; |
|
|
|
console.log('项目详情onMounted') |
|
|
|
}); |
|
|
|
|
|
|
|
if (!userInfo.value) { |
|
|
@ -326,7 +327,7 @@ function changeModal() { |
|
|
|
store.commit('task/setDownNextPage', 1); |
|
|
|
store.commit('task/setTimeLineType', timeLineType.value === 1 ? 2 : 1); |
|
|
|
const params = { pageNum: 1, taskId: currLocationTaskId.value }; |
|
|
|
getTasksHook.getTasks(params); |
|
|
|
getTasksHook.initPlanTasks(params); |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|