@fileverse-dev/fortune-core 1.2.56-patch-5 → 1.2.56-patch-6
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/es/modules/formula.js +2 -1
- package/lib/modules/formula.js +2 -1
- package/package.json +1 -1
package/es/modules/formula.js
CHANGED
|
@@ -2318,6 +2318,7 @@ export function functionCopy(ctx, txt, mode, step) {
|
|
|
2318
2318
|
dquote: 0
|
|
2319
2319
|
};
|
|
2320
2320
|
while (i < funcstack.length) {
|
|
2321
|
+
console.log(funcstack);
|
|
2321
2322
|
var s = funcstack[i];
|
|
2322
2323
|
if (s === "(" && matchConfig.dquote === 0) {
|
|
2323
2324
|
matchConfig.bracket += 1;
|
|
@@ -2385,7 +2386,7 @@ export function functionCopy(ctx, txt, mode, step) {
|
|
|
2385
2386
|
str += s;
|
|
2386
2387
|
}
|
|
2387
2388
|
if (i === funcstack.length - 1) {
|
|
2388
|
-
if (iscelldata(_.trim(str))) {
|
|
2389
|
+
if (iscelldata(_.trim(str)) && !_.trim(str).includes("$")) {
|
|
2389
2390
|
if (mode === "down") {
|
|
2390
2391
|
function_str += downparam(_.trim(str), step);
|
|
2391
2392
|
} else if (mode === "up") {
|
package/lib/modules/formula.js
CHANGED
|
@@ -2348,6 +2348,7 @@ function functionCopy(ctx, txt, mode, step) {
|
|
|
2348
2348
|
dquote: 0
|
|
2349
2349
|
};
|
|
2350
2350
|
while (i < funcstack.length) {
|
|
2351
|
+
console.log(funcstack);
|
|
2351
2352
|
var s = funcstack[i];
|
|
2352
2353
|
if (s === "(" && matchConfig.dquote === 0) {
|
|
2353
2354
|
matchConfig.bracket += 1;
|
|
@@ -2415,7 +2416,7 @@ function functionCopy(ctx, txt, mode, step) {
|
|
|
2415
2416
|
str += s;
|
|
2416
2417
|
}
|
|
2417
2418
|
if (i === funcstack.length - 1) {
|
|
2418
|
-
if (iscelldata(_lodash.default.trim(str))) {
|
|
2419
|
+
if (iscelldata(_lodash.default.trim(str)) && !_lodash.default.trim(str).includes("$")) {
|
|
2419
2420
|
if (mode === "down") {
|
|
2420
2421
|
function_str += downparam(_lodash.default.trim(str), step);
|
|
2421
2422
|
} else if (mode === "up") {
|