\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
... ...
@@ -295,7 +295,24 @@
295 295
]
296 296
}
297 297
```
298
+- **追加一个标签页里面的按钮(之前的tab已存在tbar)**:
298 299
300
+ ```json
301
+ {
302
+ "has_not": "tabs",
303
+ "expr": "$..tabs[?(@.name == 'mbm_wms_dispatch_order_menu_tab_allocation_detail_list')]..tbar",
304
+ "position": "inside",
305
+ "body": [
306
+ {
307
+ "name": "桶仓收货开启",
308
+ "service": "siloDelivery",
309
+ "auth": "siloDelivery",
310
+ "action": "siloDelivery",
311
+ "isLoading": true
312
+ }
313
+ ]
314
+ }
315
+ ```
299 316
## 5. JsonPath语法
300 317
301 318
JsonPath的语法相对简单,它采用开发语言友好的表达式形式,如果你了解类C语言,对JsonPath就不会感到不适应。