rapid-spreadjs 1.0.181 → 1.0.182
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.cjs.js +9 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +9 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1318,7 +1318,8 @@ const BusinessUtils = {
|
|
|
1318
1318
|
.indicatorColor(commentColor)
|
|
1319
1319
|
.indicatorSize(commentSize)
|
|
1320
1320
|
.fontSize('10pt')
|
|
1321
|
-
.width(
|
|
1321
|
+
.width(250)
|
|
1322
|
+
.height(Math.ceil(item.tipMsg.length / 20) * 30);
|
|
1322
1323
|
if (commentDefaultTextIsSet) {
|
|
1323
1324
|
sheet.setValue(item.row, item.col, commentDefaultText);
|
|
1324
1325
|
}
|
|
@@ -1389,7 +1390,13 @@ const BusinessUtils = {
|
|
|
1389
1390
|
try {
|
|
1390
1391
|
//设置批注
|
|
1391
1392
|
if (eval(lastFor)) {
|
|
1392
|
-
sheet.comments
|
|
1393
|
+
sheet.comments
|
|
1394
|
+
.add(item.row, item.col, item.tipMsg)
|
|
1395
|
+
.indicatorColor(commentColor)
|
|
1396
|
+
.indicatorSize(commentSize)
|
|
1397
|
+
.fontSize('10pt')
|
|
1398
|
+
.width(250)
|
|
1399
|
+
.height(Math.ceil(item.tipMsg.length / 20) * 30);
|
|
1393
1400
|
if (commentDefaultTextIsSet) {
|
|
1394
1401
|
sheet.setValue(item.row, item.col, commentDefaultText);
|
|
1395
1402
|
}
|