diff --git a/src/components/PointRecord.vue b/src/components/PointRecord.vue index 24ebef7..be7c406 100644 --- a/src/components/PointRecord.vue +++ b/src/components/PointRecord.vue @@ -13,9 +13,7 @@ const props = defineProps({ }); const bowOptions = ref({}); const targetOptions = ref({}); -const rightOptions = [ - { text: "删除", style: { backgroundColor: "#ff4d4f", color: "#fff" } }, -]; +// 使用插槽自定义右侧按钮为图标,若需要文字按钮可恢复 rightOptions const toDetailPage = () => { uni.navigateTo({ @@ -41,9 +39,13 @@ const onSwipeActionClick = () => {