ccd7f74b399ffd0132530a85b694e9b8d4a62dca
\345\270\270\350\247\201\351\227\256\351\242\230/\345\220\216\347\253\257\350\247\206\345\233\276\346\211\251\345\261\225.md
| ... | ... | @@ -256,6 +256,21 @@ |
| 256 | 256 | ] |
| 257 | 257 | } |
| 258 | 258 | ``` |
| 259 | + - **替换一个字段(字段为json对象)**: |
|
| 260 | + |
|
| 261 | + ```json |
|
| 262 | + { |
|
| 263 | + #base版本需要>=V2.8.1-HOTFIX.001 |
|
| 264 | + "expr": "$..columns[?(@.name == 'no')]", |
|
| 265 | + "position": "replace", |
|
| 266 | + "body": [ |
|
| 267 | + { |
|
| 268 | + "name": "replacedField", |
|
| 269 | + "displayName": "替换字段" |
|
| 270 | + } |
|
| 271 | + ] |
|
| 272 | + } |
|
| 273 | + ``` |
|
| 259 | 274 | |
| 260 | 275 | - **新增一个按钮**: |
| 261 | 276 |