feat: 详细报告接入 v3 测量历史接口,设备列表接入设备接口

- 详细报告按 scaleType 区分 4/8 电极渲染,节段卡片 8 电极专属
- 设备列表改为接口驱动并新增空态
- 登录后统一跳首页,请求层兼容 code 0 返回风格

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-08-20 17:20:07 +08:00
co-authored by Claude Opus 4.7
parent fce9701254
commit d6e59df4e9
11 changed files with 581 additions and 392 deletions
+4 -2
View File
@@ -3,8 +3,10 @@
onLaunch() {
// 已登录则跳过登录页
const userInfo = wx.getStorageSync('userInfo') || null;
if (userInfo) {
const token = wx.getStorageSync('token') || null;
// const userInfo = wx.getStorageSync('userInfo') || null;
const userInfo = true;
if (token && userInfo) {
wx.reLaunch({
url: '/pages/home/home'
})