Jixun Wu
3 years ago
committed by
MengYX
2 changed files with 23 additions and 7 deletions
@ -0,0 +1,18 @@ |
|||
<template> |
|||
<ruby :title="caption"> |
|||
<slot></slot> |
|||
|
|||
<rp>(</rp> |
|||
<rt v-text="caption"></rt> |
|||
<rp>)</rp> |
|||
</ruby> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'Ruby', |
|||
props: { |
|||
caption: { type: String, required: true }, |
|||
}, |
|||
}; |
|||
</script> |
Loading…
Reference in new issue