diff --git a/src/pages/itemHold/record/recordList.vue b/src/pages/itemHold/record/recordList.vue index cb3ca661..e0fd4c08 100644 --- a/src/pages/itemHold/record/recordList.vue +++ b/src/pages/itemHold/record/recordList.vue @@ -59,15 +59,13 @@ import { onBackPress, onNavigationBarButtonTap } from '@dcloudio/uni-app' -// 定义 props + const props = defineProps({ - // 如果有 props 需要定义 + }); -// 定义 emits -const emit = defineEmits(['someEvent']); // 如果有自定义事件需要定义 +const emit = defineEmits(['someEvent']); -// 响应式数据 const recordList = ref([]); const pageNo = ref(1); const pageSize = ref(10); @@ -94,7 +92,7 @@ const comMessage = ref(null); const scanPopup = ref(null); const recordList = ref(null); -// 生命周期函数 + onLoad((option) => { title.value = option.title; }); @@ -137,7 +135,6 @@ onNavigationBarButtonTap((e) => { } }); -// 方法 const setQueryParam = () => { const filterParams = []; diff --git a/src/pages/itemHold/record/recordListDetail.vue b/src/pages/itemHold/record/recordListDetail.vue index 9bae3a36..c78c05a2 100644 --- a/src/pages/itemHold/record/recordListDetail.vue +++ b/src/pages/itemHold/record/recordListDetail.vue @@ -89,15 +89,11 @@ import { onNavigationBarButtonTap } from '@dcloudio/uni-app' -// 定义 props const props = defineProps({ - // 如果有 props 需要定义 }); -// 定义 emits -const emit = defineEmits(['someEvent']); // 如果有自定义事件需要定义 +const emit = defineEmits(['someEvent']); -// 响应式数据 const id = ref(''); const scanCount = ref(0); const recordContent = ref({});