1.0.3 • Published 2 years ago

@liuyunxi/viewer-pdf v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

PDF预览

代码演示

<template>
    <YxPdfViewer
        url="https://norisk-dev-1305901002.cos.ap-chengdu.myqcloud.com/%E5%AE%89%E5%85%A8%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E4%BD%BF%E7%94%A8%E5%AF%BC%E5%88%99-2008.pdf"
        >pdf</YxPdfViewer
    >
    <YxPdfViewer
        url="https://norisk-dev-1305901002.cos.ap-chengdu.myqcloud.com/%E5%AE%89%E5%85%A8%E6%A0%87%E5%BF%97%E5%8F%8A%E5%85%B6%E4%BD%BF%E7%94%A8%E5%AF%BC%E5%88%99-2008.pdf"
        >点我查看</YxPdfViewer
    >
</template>

<script setup lang="ts"></script>

<style scoped lang="less"></style>

API

参数

参数说明类型默认值
urlpdf文件地址string