Browse Source
Merge pull request #993 from alsundukov/fix-dropcell-update
fix: dropCell.update function
master
mengshukeji
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/controllers/dropCell.js
|
|
@ -485,7 +485,7 @@ const luckysheetDropCell = { |
|
|
|
let f = "=" + formula.functionCopy(cell.f, "down", j - apply_str_r + 1); |
|
|
|
let v = formula.execfunction(f, j, i); |
|
|
|
|
|
|
|
formula.execFunctionGroup(i, j, v[1], undefined, d); |
|
|
|
formula.execFunctionGroup(j, i, v[1], undefined, d); |
|
|
|
|
|
|
|
cell.f = v[2]; |
|
|
|
cell.v = v[1]; |
|
|
@ -581,7 +581,7 @@ const luckysheetDropCell = { |
|
|
|
let f = "=" + formula.functionCopy(cell.f, "up", apply_end_r - j + 1); |
|
|
|
let v = formula.execfunction(f, j, i); |
|
|
|
|
|
|
|
formula.execFunctionGroup(i, j, v[1], undefined, d); |
|
|
|
formula.execFunctionGroup(j, i, v[1], undefined, d); |
|
|
|
|
|
|
|
cell.f = v[2]; |
|
|
|
cell.v = v[1]; |
|
|
|