|
@@ -1,12 +1,12 @@
|
|
|
<template>
|
|
|
<HcNewCard>
|
|
|
<template #header>
|
|
|
- <el-button size="large" type="primary" @click="testPdf">测试pdf</el-button>
|
|
|
+ <el-button size="large" type="primary" @click="testClick">测试</el-button>
|
|
|
</template>
|
|
|
<template #extra>
|
|
|
extra
|
|
|
</template>
|
|
|
- <hc-pdfs src="http://183.247.216.148:28183/pdf/1796799665836916742.pdf" />
|
|
|
+ 111111
|
|
|
<template #action>
|
|
|
action
|
|
|
</template>
|
|
@@ -14,9 +14,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-const testPdf = () => {
|
|
|
+const testClick = () => {
|
|
|
|
|
|
- //window.open('/#/pdf?url=' + url1, '_blank')
|
|
|
}
|
|
|
</script>
|
|
|
|