补全所有弹窗内部内容

This commit is contained in:
2025-12-16 21:47:25 +08:00
parent d28e4e194c
commit a2b9255814
22 changed files with 1844 additions and 57 deletions

View File

@@ -27,14 +27,18 @@
}
})
const emit = defineEmits(['show-modal'])
const emit = defineEmits(['show-modal', 'show-tip'])
const handleShowModal = (payload) => {
emit('show-modal', payload)
}
const handleShowTip = (payload) => {
emit('show-tip', payload)
}
</script>
<template>
<div class="container">
<component :is="DynamicContent" @show-modal="handleShowModal" />
<component :is="DynamicContent" @show-modal="handleShowModal" @show-tip="handleShowTip" />
</div>
</template>
<style scoped>