|
@@ -943,6 +943,13 @@ public class JfGridUpdateService {
|
|
|
if (_celldatas != null) {
|
|
|
for (int x = _celldatas.size() - 1; x >= 0; x--) {
|
|
|
JSONObject _cell = _celldatas.getJSONObject(x);
|
|
|
+
|
|
|
+ //删除无横纵坐标的对象
|
|
|
+ if(_cell.get("r") == null || _cell.get("c") == null) {
|
|
|
+ _celldatas.remove(x);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
Integer _r = Integer.parseInt(_cell.get("r").toString());
|
|
|
Integer _c = Integer.parseInt(_cell.get("c").toString());
|
|
|
//判断是否删除
|