gaoluyang
2025-09-26 86c30ab5d8fa74bf77bdd75d8008a6d87dab28b6
src/pages/cooperativeOffice/collaborativeApproval/contactSelect.vue
@@ -81,11 +81,10 @@
const stepIndex = ref(0)
onMounted(() => {
  // 获取页面参数
  const pages = getCurrentPages()
  const currentPage = pages[pages.length - 1]
  if (currentPage.options.stepIndex !== undefined) {
    stepIndex.value = parseInt(currentPage.options.stepIndex)
  // 从本地存储获取参数
  const storedStepIndex = uni.getStorageSync('stepIndex');
  if (storedStepIndex !== undefined && storedStepIndex !== null) {
    stepIndex.value = parseInt(storedStepIndex)
  }
  
  // 初始化联系人数据
@@ -121,6 +120,7 @@
}
const goBack = () => {
  uni.removeStorageSync('stepIndex');
  uni.navigateBack()
}