登录注册/数据分析

This commit is contained in:
comlibmb
2026-01-22 21:15:02 +08:00
parent 75fad97d5d
commit fdbee0fa32
41 changed files with 5812 additions and 2102 deletions

View File

@@ -248,9 +248,18 @@ export default {
}
},
onLoad(options: any) {
const reportId = options.reportId as string
// 兼容两种参数名reportId 和 id
const reportId = (options.reportId || options.id) as string
if (reportId) {
this.loadReportDetail(reportId)
} else {
uni.showToast({
title: '缺少报表ID',
icon: 'none'
})
setTimeout(() => {
uni.navigateBack()
}, 1500)
}
},
methods: {