From c7a37b35d3d8cd82d539fa8d6c17058cb51052d6 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 9 Jul 2024 10:57:24 +0800 Subject: [PATCH] onload --- pages/home/home.vue | 2 +- pages/management/alloc-maintenance.vue | 2 +- pages/management/in-storage.vue | 2 +- pages/management/receive-confirm.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index 7c6f1b7..9f19742 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -39,7 +39,7 @@ menuList: [] }; }, - created () { + onLoad () { this._getBillsCount() this.intervalId = setInterval(() => { this._getBillsCount() diff --git a/pages/management/alloc-maintenance.vue b/pages/management/alloc-maintenance.vue index cdc197e..3c6d3cc 100644 --- a/pages/management/alloc-maintenance.vue +++ b/pages/management/alloc-maintenance.vue @@ -279,7 +279,7 @@ fstate: false }; }, - created () { + onLoad () { this._getWarehouseInfo() this._getOrganizationInfo() }, diff --git a/pages/management/in-storage.vue b/pages/management/in-storage.vue index 06bd5c8..d94d692 100644 --- a/pages/management/in-storage.vue +++ b/pages/management/in-storage.vue @@ -246,7 +246,7 @@ this.title = options.name this.crType = options.type }, - created () { + onLoad () { this._getWarehouseInfo() this._getUserInfo() }, diff --git a/pages/management/receive-confirm.vue b/pages/management/receive-confirm.vue index ca615ab..2ccb9f1 100644 --- a/pages/management/receive-confirm.vue +++ b/pages/management/receive-confirm.vue @@ -205,7 +205,7 @@ range1: [] }; }, - created () { + onLoad () { this._getWarehouseInfo() this._getOrganizationInfo() },