isdata-customer-sdk 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.common.js
CHANGED
|
@@ -33352,6 +33352,8 @@ const common_i18n_check = element => {
|
|
|
33352
33352
|
};
|
|
33353
33353
|
// 检查目录列表 名称 列
|
|
33354
33354
|
if (element.tagName === 'BUTTON') {
|
|
33355
|
+
//TODO:先检查新的是否需要解析,新的不需要有可能是解析后的再次判断,如果有历史解析值,则解析
|
|
33356
|
+
//如果新的需要解析,更新缓存的历史解析值
|
|
33355
33357
|
let innerHTML = element.innerHTML;
|
|
33356
33358
|
let oldValue = element.getAttribute("oldValue");
|
|
33357
33359
|
if (!oldValue) {
|
|
@@ -33630,7 +33632,9 @@ function processElement(element) {
|
|
|
33630
33632
|
element.setAttribute("oldValue", innerHTMLMatch.oldValue);
|
|
33631
33633
|
} else {
|
|
33632
33634
|
if (!hasChildren) {
|
|
33633
|
-
//如果存在历史值,说明之前解析过,有可能是值需要刷新触发
|
|
33635
|
+
//如果存在历史值,说明之前解析过,有可能是值需要刷新触发
|
|
33636
|
+
//TODO:先检查新的是否需要解析,新的不需要有可能是解析后的再次判断,如果有历史解析值,则解析
|
|
33637
|
+
//如果新的需要解析,更新缓存的历史解析值
|
|
33634
33638
|
let oldValue = element.getAttribute("oldValue");
|
|
33635
33639
|
if (!oldValue) {
|
|
33636
33640
|
oldValue = element.innerHTML;
|