<template>
    <hc-card>
        <template #header>
            <el-button hc-btn type="primary" @click="test1Click">测试1</el-button>
            <el-button hc-btn type="warning" @click="test2Click">测试2</el-button>
        </template>
        测试的
    </hc-card>
</template>

<script setup>
import { toPdfPage } from '~uti/btn-auth'

const test1Click = () => {
    toPdfPage('https://bladex-oss-chongqing.oss-cn-shenzhen.aliyuncs.com//upload/20240118/bf848a1a64acf788f8dfd4acb0d95582.pdf')
}

const test2Click = () => {
    toPdfPage('https://bladex-oss-chongqing.oss-cn-shenzhen.aliyuncs.com//upload/20230925/0a604927fb3584a2860c757ee9afd12f.pdf')
}
</script>
