feat 报告详情
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user