feat 增加下载按钮
This commit is contained in:
@@ -24,6 +24,10 @@ const reportData = ref<any>({
|
||||
exceptionCount: '2',
|
||||
})
|
||||
|
||||
function handleDownload() {
|
||||
console.log('点击下载')
|
||||
}
|
||||
|
||||
onLoad((options) => {
|
||||
if (options?.key) {
|
||||
const data = storage.get(options.key)
|
||||
@@ -37,7 +41,9 @@ onLoad((options) => {
|
||||
|
||||
<template>
|
||||
<view class="page">
|
||||
<back-nav title="报告详情" />
|
||||
<back-nav title="报告详情">
|
||||
<wd-button size="large" variant="soft" icon="download" @tap="handleDownload" />
|
||||
</back-nav>
|
||||
|
||||
<view class="content">
|
||||
<report-device-header
|
||||
|
||||
Reference in New Issue
Block a user