doway-coms 1.4.2 → 1.4.4
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/package.json +1 -1
- package/packages/utils/common.js +4 -3
package/package.json
CHANGED
package/packages/utils/common.js
CHANGED
|
@@ -193,7 +193,8 @@ export function replaceParamString(
|
|
|
193
193
|
},
|
|
194
194
|
message: '错误',
|
|
195
195
|
description: errors,
|
|
196
|
-
placement: 'topRight'
|
|
196
|
+
placement: 'topRight',
|
|
197
|
+
top: '100px'
|
|
197
198
|
})
|
|
198
199
|
}
|
|
199
200
|
export function getUuid() {
|
|
@@ -503,10 +504,10 @@ export function numberDigitsRound(rowInfo, colInfo) {
|
|
|
503
504
|
// 向上、向下、四舍五入
|
|
504
505
|
switch (rowInfo[colInfo.round]) {
|
|
505
506
|
case 'ceiling':
|
|
506
|
-
XEUtils.ceil(rowInfo[colInfo.number], rowInfo[colInfo.digits])
|
|
507
|
+
rowInfo[colInfo.number] = XEUtils.ceil(rowInfo[colInfo.number], rowInfo[colInfo.digits])
|
|
507
508
|
break;
|
|
508
509
|
case 'floor':
|
|
509
|
-
XEUtils.floor(rowInfo[colInfo.number], rowInfo[colInfo.digits])
|
|
510
|
+
rowInfo[colInfo.number] = XEUtils.floor(rowInfo[colInfo.number], rowInfo[colInfo.digits])
|
|
510
511
|
break;
|
|
511
512
|
case 'round':
|
|
512
513
|
rowInfo[colInfo.number] = rowInfo[colInfo.number].toFixed(rowInfo[colInfo.digits])
|