订单详情完善

This commit is contained in:
wwz
2025-03-11 16:42:37 +08:00
parent 5342133cbd
commit cab9f836af
16 changed files with 506 additions and 126 deletions

View File

@@ -22,6 +22,7 @@
import {
ref,
defineProps,
defineExpose,
defineEmits
} from 'vue';
@@ -34,7 +35,7 @@
});
// 定义向父组件发送事件
const emits = defineEmits(['inputComplete', 'close']);
const emits = defineEmits(['inputComplete', 'close', 'closeModal']);
// 存储输入的密码
const password = ref('');
@@ -56,6 +57,10 @@
emits('close');
password.value = '';
};
// 将方法暴露给父组件
defineExpose({
closeModal
});
</script>
<style scoped>