渲染方法很简单就是把我们的文本传入 marked ,结果返回是带了标签的文本内容,我们在用 v-html 渲染即可。 <template><!-- {{ markdown }} --> <textarea ...
確定! 回上一頁