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 +5 -0
- package/dist/index.native.js +18 -7
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +19 -8
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-simple-flow/index.vue +18 -7
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -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
|
-
|
|
35975
|
-
|
|
35976
|
-
|
|
35977
|
-
|
|
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
|
|