From 2f183a6b0a83ec3f7d35375d5d25d200efc2a3e1 Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期二, 19 四月 2022 18:46:18 +0800
Subject: [PATCH] 20220419FixIssue
---
force-app/main/default/pages/OFSInsReportLayout.page | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/pages/OFSInsReportLayout.page b/force-app/main/default/pages/OFSInsReportLayout.page
index 5167cdd..3b0ba46 100644
--- a/force-app/main/default/pages/OFSInsReportLayout.page
+++ b/force-app/main/default/pages/OFSInsReportLayout.page
@@ -217,8 +217,8 @@
let divs = j$(e).find("div.message");
for (let i = 0; i < divs.length; i++) {
for (let j = 0; j < divs[i].classList.length; j++) {
- for(let cls of divs[i].classList){
- if (cls.indexOf('error')>-1) {
+ for(let clsi in divs[i].classList){let cls=divs[i].classList[clsi];
+ if (typeof cls == 'string' && cls.indexOf('error')>-1) {
return true;
}
}
--
Gitblit v1.9.1