app_func_work.php 943 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. return array
  3. (
  4. 'update' => array
  5. (
  6. 'field' => array
  7. (
  8. 'cate' => array
  9. (
  10. 'rules' => true,
  11. 'type' => 'cascader',
  12. 'option' => 'Dever::call("content/cate.getList", array("api"))',
  13. 'remote' => 'api/cate.getApi',
  14. # 无需默认值
  15. 'remote_default' => false,
  16. ),
  17. 'api_id' => array
  18. (
  19. 'rules' => true,
  20. 'type' => 'select',
  21. 'placeholder' => '选择接口',
  22. ),
  23. /*
  24. 'status' => array
  25. (
  26. 'width' => '40',
  27. 'type' => 'switch',
  28. 'show' => '{status}',
  29. 'active_value' => 1,
  30. 'inactive_value' => 2,
  31. ),*/
  32. ),
  33. 'drag' => 'sort',
  34. ),
  35. );