修复若干bug

This commit is contained in:
2026-01-27 10:08:03 +08:00
parent a81314ff75
commit 40f5926ba4
13 changed files with 154 additions and 155 deletions
+4 -4
View File
@@ -20,7 +20,7 @@ import Footer from '@/views/components/footer.vue'
import { getKingdeeNewsDetail, getCompanyNewsDetail } from '@/api/newscenter'
const route = useRoute()
const article = ref({})
const article = ref<any>({})
const loading = ref(true)
onMounted(async () => {
@@ -32,11 +32,11 @@ onMounted(async () => {
const path = route.path
if (path.includes('companyNews')) {
res = await getCompanyNewsDetail(id)
res = await getCompanyNewsDetail(id as string)
} else if (path.includes('kingdeeNews')) {
res = await getKingdeeNewsDetail(id)
res = await getKingdeeNewsDetail(id as string)
} else {
res = await getKingdeeNewsDetail(id)
res = await getKingdeeNewsDetail(id as string)
}
if (res.code === 200) {