* @function Grid.prototype.toServerJSONObject * @description 转换成对应的 JSON 对象。 * @returns JSON 对象。
()
| 193 | * @returns JSON 对象。 |
| 194 | */ |
| 195 | toServerJSONObject() { |
| 196 | var jsonObject = super.toServerJSONObject(); |
| 197 | |
| 198 | if (jsonObject.dashStyle) { |
| 199 | if (jsonObject.dashStyle.toServerJSONObject) { |
| 200 | jsonObject.dashStyle = jsonObject.dashStyle.toServerJSONObject(); |
| 201 | } |
| 202 | } |
| 203 | if (jsonObject.solidStyle) { |
| 204 | if (jsonObject.solidStyle.toServerJSONObject) { |
| 205 | jsonObject.solidStyle = jsonObject.solidStyle.toServerJSONObject(); |
| 206 | } |
| 207 | } |
| 208 | return jsonObject; |
| 209 | } |
| 210 | |
| 211 | } |
| 212 |
no outgoing calls
no test coverage detected