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.umd.js CHANGED
@@ -33370,6 +33370,8 @@ const common_i18n_check = element => {
33370
33370
  };
33371
33371
  // 检查目录列表 名称 列
33372
33372
  if (element.tagName === 'BUTTON') {
33373
+ //TODO:先检查新的是否需要解析,新的不需要有可能是解析后的再次判断,如果有历史解析值,则解析
33374
+ //如果新的需要解析,更新缓存的历史解析值
33373
33375
  let innerHTML = element.innerHTML;
33374
33376
  let oldValue = element.getAttribute("oldValue");
33375
33377
  if (!oldValue) {
@@ -33648,7 +33650,9 @@ function processElement(element) {
33648
33650
  element.setAttribute("oldValue", innerHTMLMatch.oldValue);
33649
33651
  } else {
33650
33652
  if (!hasChildren) {
33651
- //如果存在历史值,说明之前解析过,有可能是值需要刷新触发
33653
+ //如果存在历史值,说明之前解析过,有可能是值需要刷新触发
33654
+ //TODO:先检查新的是否需要解析,新的不需要有可能是解析后的再次判断,如果有历史解析值,则解析
33655
+ //如果新的需要解析,更新缓存的历史解析值
33652
33656
  let oldValue = element.getAttribute("oldValue");
33653
33657
  if (!oldValue) {
33654
33658
  oldValue = element.innerHTML;