From 509b925a5ff04c4dc09c6d8fb9ed5f66213d9b7a Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Sat, 11 Mar 2023 17:46:42 +0800 Subject: [PATCH] optimize --- pages/machine/machineToCharge.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/machine/machineToCharge.vue b/pages/machine/machineToCharge.vue index afff63b..6e4aa5c 100644 --- a/pages/machine/machineToCharge.vue +++ b/pages/machine/machineToCharge.vue @@ -42,6 +42,7 @@ getChargeMachines, getChargeMachinePort } from '../../api/machine/machineApi.js'; + import context from '../../lib/java110/Java110Context.js'; export default { data() { return { @@ -76,6 +77,7 @@ } }, onLoad(options) { + context.onLoad(options); this.machineId = options.machineId; this.communityId = options.communityId; this._loadChargeMachines();