feat 报告详情

This commit is contained in:
Ironsp
2026-09-03 14:32:00 +08:00
parent 607b5f8c91
commit 95634bd82a
9 changed files with 265 additions and 25 deletions

View File

@@ -1,4 +1,6 @@
<script setup lang="ts">
import storage from '@/utils/storage'
definePage({
layout: false,
style: {
@@ -9,10 +11,9 @@ definePage({
const warningData = ref<any>(null)
onLoad((options) => {
if (options?.data) {
console.log('111111111111111', options.data)
warningData.value = JSON.parse(decodeURIComponent(options.data))
console.log('11111111111111111222222', warningData.value)
if (options?.key) {
warningData.value = storage.get(options.key)
storage.remove(options.key)
}
})
</script>