gaoluyang
16 小时以前 f0485e3c276ccdfb5aad33b19a00406a55d5d075
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()
}