@smart100/spu-web-plugin 0.0.17 → 0.0.18
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/spu-web-plugin.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var version = "0.0.
|
|
1
|
+
var version = "0.0.18";
|
|
2
2
|
|
|
3
3
|
function _iterableToArrayLimit(r, l) {
|
|
4
4
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -14427,7 +14427,7 @@ var apaasSpuTrackSendLog = function apaasSpuTrackSendLog(data) {
|
|
|
14427
14427
|
apaasSpuTrackSendLog(data, true);
|
|
14428
14428
|
}, 3000);
|
|
14429
14429
|
} else {
|
|
14430
|
-
console.error('
|
|
14430
|
+
console.error('window.apaasSpuTrack 不存在,导出日志发送失败。');
|
|
14431
14431
|
}
|
|
14432
14432
|
}
|
|
14433
14433
|
};
|
|
@@ -50785,12 +50785,12 @@ var SpuExpandexp = /*#__PURE__*/function (_HTMLElement) {
|
|
|
50785
50785
|
} else {
|
|
50786
50786
|
_this8.updateStep('running');
|
|
50787
50787
|
if (currentData) {
|
|
50788
|
-
|
|
50789
|
-
|
|
50790
|
-
|
|
50791
|
-
|
|
50792
|
-
|
|
50793
|
-
|
|
50788
|
+
// this.data.percentage = +currentData.finishRate
|
|
50789
|
+
if (_this8.data.expandStatus === '1') {
|
|
50790
|
+
_this8.data.percentage = +currentData.finishRate;
|
|
50791
|
+
} else {
|
|
50792
|
+
_this8.data.percentage = +currentData.finishRate * 0.5;
|
|
50793
|
+
}
|
|
50794
50794
|
}
|
|
50795
50795
|
}
|
|
50796
50796
|
})["catch"](function (err) {
|
package/package.json
CHANGED
package/src/apaasSpuTrack.ts
CHANGED
|
@@ -655,12 +655,12 @@ export default class SpuExpandexp extends HTMLElement {
|
|
|
655
655
|
} else {
|
|
656
656
|
this.updateStep('running')
|
|
657
657
|
if (currentData) {
|
|
658
|
-
this.data.percentage = +currentData.finishRate
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
658
|
+
// this.data.percentage = +currentData.finishRate
|
|
659
|
+
if (this.data.expandStatus === '1') {
|
|
660
|
+
this.data.percentage = +currentData.finishRate
|
|
661
|
+
} else {
|
|
662
|
+
this.data.percentage = +currentData.finishRate * 0.5
|
|
663
|
+
}
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
})
|