<template>
  <p v-html="list">
  </p>
</template>
<script lang="ts" setup>
import axios from 'axios'
let list = ref('')
const postListIDFn = async () => {
  localStorage.getItem('hryk-id')
  // console.log('localStorage.getItem',localStorage.getItem('hryk-id'))
let z: any = await axios.get(`https://official.webapi.bicredit.xin/api/news/detail/${localStorage.getItem('hryk-id')}`)
console.log('zzz', z)
// if(z.msg == '成功'){
list.value = z.data.data.content
// console.log('list',list.value)
//  }
}
postListIDFn()
</script>