view-add.txt 621 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <el-card shadow="never" style="border: 0;">
  3. <#if form#>
  4. <yun-form
  5. <#if !reduced#>
  6. ref="yunform"
  7. @render="onFormRender"
  8. @submit="onSubmit"
  9. @success="onSuccess"
  10. @fail="onFail"
  11. <#endif#>
  12. :data="row"
  13. :columns="columns">
  14. <template #default>
  15. {:token_field()}
  16. </template>
  17. <#slot#>
  18. </yun-form>
  19. <#endif#>
  20. <#if !form#>
  21. <#title#>
  22. <#endif#>
  23. </el-card>
  24. </template>
  25. <script>
  26. <#js#>
  27. </script>
  28. <style>
  29. </style>