Browse Source
Merge pull request #689 from sone92cn/master
修复公式单元格改回数值,公式仍然存在的问题
master
Dushusir
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
15 additions and
16 deletions
-
src/global/setdata.js
|
|
@ -23,10 +23,9 @@ function setcellvalue(r, c, d, v) { |
|
|
|
else{ |
|
|
|
if(v.f != null){ |
|
|
|
cell.f = v.f; |
|
|
|
}else if(cell.hasOwnProperty('f')){ |
|
|
|
delete cell.f; |
|
|
|
} |
|
|
|
// else{
|
|
|
|
// delete cell.f;
|
|
|
|
// }
|
|
|
|
|
|
|
|
if(v.spl != null){ |
|
|
|
cell.spl = v.spl; |
|
|
|