refactor: 访问结果内容改用七牛云/本地存储,与 config 文件存储方式一致

This commit is contained in:
mediabot-pt
2026-06-30 22:41:15 +08:00
parent 83e150b8c9
commit 0568923ce9
7 changed files with 50 additions and 22 deletions

View File

@@ -157,9 +157,16 @@ const fetchAll = async () => {
finally { loading.value = false }
}
const handleView = (row) => {
detail.value = { ...row }
const handleView = async (row) => {
// 详情需从服务端获取完整内容
detailVisible.value = true
try {
const r = await api.accessResults.get(row.id)
detail.value = r.data || {}
} catch {
ElMessage.error('获取详情失败')
detail.value = { ...row }
}
}
const handleValidate = async (row, isValid) => {