You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
698 B
28 lines
698 B
2 years ago
|
<template>
|
||
2 years ago
|
<BasicModal title="站内信详情" @register="innerRegister">
|
||
2 years ago
|
<Description @register="descriptionRegister" />
|
||
|
</BasicModal>
|
||
|
</template>
|
||
|
|
||
|
<script setup lang="ts">
|
||
|
import { ref } from 'vue'
|
||
|
import { BasicModal, useModalInner } from '@/components/Modal'
|
||
|
import { Description, useDescription } from '@/components/Description/index'
|
||
|
import { infoSchema, MessageInfo } from './message.data'
|
||
|
|
||
|
defineOptions({ name: 'MessageInfoModal' })
|
||
|
|
||
|
const [innerRegister] = useModalInner((value: MessageInfo) => {
|
||
|
data.value = value
|
||
|
})
|
||
|
|
||
|
const data = ref<MessageInfo>()
|
||
|
const [descriptionRegister] = useDescription({
|
||
|
column: 1,
|
||
|
schema: infoSchema,
|
||
|
data
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<style scoped></style>
|