From 9a8e2c91975f5a41ca8947f54a6836323db179e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E7=BB=A7=E7=BB=AD=E5=90=B9?= <17611323298@163.com> Date: Thu, 11 May 2023 20:45:50 +0800 Subject: [PATCH] no message --- pages/center/prohibited/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pages/center/prohibited/index.vue b/pages/center/prohibited/index.vue index 7b62b99..394dbdf 100644 --- a/pages/center/prohibited/index.vue +++ b/pages/center/prohibited/index.vue @@ -174,7 +174,7 @@ }, onLoad(options) { this.LOADING = true - this.isnorefresh = options.refresh; + if (options.refresh) this.isnorefresh = options.refresh; if (options.activeTotal) { this.activeTotal = options.activeTotal } @@ -186,6 +186,16 @@ this.violatedStatus = options.violatedStatus this.weijinTag = this.identList[options.violatedStatus].label } + + if (options.projectId) { + this.buildingID = options.projectId; + this.recordList = []; + this.nextPage = 1; + this.isRefresh = false; + this.getMyCustom() + this.getFreeList(); + this.isnorefresh = ''; + } }, onShow() { this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');