diff --git a/.env.development b/.env.development index a2380e4..5339033 100644 --- a/.env.development +++ b/.env.development @@ -13,3 +13,6 @@ VITE_PROXY_TARGET=https://api.youlai.tech # 线上 # 接口地址(小程序/App 直连,H5 走代理用不到) VITE_APP_API_URL=https://api.youlai.tech # 线上 # VITE_APP_API_URL=http://localhost:8000 # 本地 + +# 应用监控地址(工作台-应用监控) +VITE_APP_MONITOR_URL=http://localhost:9090/wallboard diff --git a/src/components/qiun-data-charts/qiun-data-charts.vue b/src/components/qiun-data-charts/qiun-data-charts.vue index 9ac2dab..a9ec644 100644 --- a/src/components/qiun-data-charts/qiun-data-charts.vue +++ b/src/components/qiun-data-charts/qiun-data-charts.vue @@ -528,9 +528,6 @@ export default { name: "error", params: { type: "error", errorShow: this.errorShow, msg: val, id: this.cid }, }); - if (this.errorShow) { - console.log("[秋云图表组件]" + val); - } } }, errorMessage(val, oldval) { diff --git a/src/subPages/work/monitor/index.vue b/src/subPages/work/monitor/index.vue index 6b4f4a3..dfe0d70 100644 --- a/src/subPages/work/monitor/index.vue +++ b/src/subPages/work/monitor/index.vue @@ -3,13 +3,11 @@ diff --git a/src/utils/storage.ts b/src/utils/storage.ts index dfaaf69..5829f9b 100644 --- a/src/utils/storage.ts +++ b/src/utils/storage.ts @@ -19,7 +19,7 @@ function get(key: string, defaultValue?: T): T { try { return JSON.parse(value); } catch { - // 如果解析失败,返回原始字符串 + // 如果解析失败,返回原始字符串;历史数据可能未经 JSON 序列化,类型由调用方保证 return value as unknown as T; } }