dolphin-weex-ui 2.4.29 → 2.4.30

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # 升级日志
2
2
 
3
+ ## 2.4.30
4
+
5
+ - [ ! ] 解决dof-simple-flow组件右侧内容宽度计算问题
6
+ - [ ! ] date: 2026/06/03
7
+
3
8
  ## 2.4.29
4
9
 
5
10
  - [ ! ] Revert "2.4.20 colmo样式升级",放于大版本2.5.0(dev_colmoNewStyle)
@@ -35879,7 +35879,8 @@ exports.default = {
35879
35879
  },
35880
35880
  data: function data() {
35881
35881
  return {
35882
- rightContentWidth: null
35882
+ rightContentWidth: null,
35883
+ getRightContentWidthTimer: null
35883
35884
  };
35884
35885
  },
35885
35886
 
@@ -35971,13 +35972,23 @@ exports.default = {
35971
35972
  mounted: function mounted() {
35972
35973
  var _this2 = this;
35973
35974
 
35974
- setTimeout(function () {
35975
- dom.getComponentRect(_this2.$refs.rightContent[0], function (rect) {
35976
- if (rect && rect.size) {
35977
- _this2.rightContentWidth = rect.size.width - 140;
35978
- }
35979
- });
35975
+ this.getRightContentWidthTimer = setInterval(function () {
35976
+ if (_this2.$refs.rightContent && _this2.$refs.rightContent[0]) {
35977
+ dom.getComponentRect(_this2.$refs.rightContent[0], function (rect) {
35978
+ if (rect && rect.size) {
35979
+ _this2.rightContentWidth = rect.size.width - 140;
35980
+ }
35981
+ });
35982
+ clearInterval(_this2.getRightContentWidthTimer);
35983
+ _this2.getRightContentWidthTimer = null;
35984
+ }
35980
35985
  }, 20);
35986
+ setTimeout(function () {
35987
+ if (_this2.getRightContentWidthTimer) {
35988
+ clearInterval(_this2.getRightContentWidthTimer);
35989
+ _this2.getRightContentWidthTimer = null;
35990
+ }
35991
+ }, 1000);
35981
35992
  }
35982
35993
  };
35983
35994