feat: 代码优化

This commit is contained in:
duanshuwen
2025-07-30 11:13:22 +08:00
parent b40d49998c
commit 27ea45145b
2 changed files with 1 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ const props = defineProps({
});
// Emits
const emit = defineEmits(["click", "call", "complete"]);
const emit = defineEmits(["click", "call"]);
// 图标映射
const ICON_MAP = {

View File

@@ -30,7 +30,6 @@
:orderData="item"
@click="handleOrderClick"
@call="handleOrderCall"
@complete="handleOrderComplete"
/>
</z-paging>
</template>
@@ -111,12 +110,6 @@ const handleOrderCall = (orderData) => {
phoneNumber: orderData.contactPhone,
});
};
// 处理订单完成
const handleOrderComplete = (orderData) => {
console.log("订单完成:", orderData);
// 这里可以添加订单完成逻辑
};
</script>
<style scoped lang="scss">