diff --git a/pages/case/archive-edit.vue b/pages/case/archive-edit.vue index 04e522e..2236281 100644 --- a/pages/case/archive-edit.vue +++ b/pages/case/archive-edit.vue @@ -1,12 +1,14 @@  @@ -44,6 +46,7 @@ const archive = ref({ const baseItems = ref([]); const internalItems = ref([]); +const scrollHeight = ref(0); const accountStore = useAccountStore(); const { account, doctorInfo } = storeToRefs(accountStore); @@ -336,6 +339,7 @@ async function savePatch(patch) { } onLoad((options) => { + scrollHeight.value = Number(uni.getSystemInfoSync()?.windowHeight || 0) || 0; archiveId.value = options?.archiveId ? String(options.archiveId) : ''; loadFromStorage(); ensureDoctor().then(async () => { @@ -351,7 +355,12 @@ onShow(() => { diff --git a/pages/case/new-followup-record.vue b/pages/case/new-followup-record.vue index 3d37af2..ee2fc13 100644 --- a/pages/case/new-followup-record.vue +++ b/pages/case/new-followup-record.vue @@ -1,57 +1,61 @@