create.php 750 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. {include file="public/head"}
  5. <title>{$title}</title>
  6. </head>
  7. <body>
  8. <div id="form-add" class="mp-form" v-cloak="">
  9. <form-builder></form-builder>
  10. </div>
  11. <!--suppress JSAnnotator -->
  12. <script>
  13. var _vm ;
  14. var rules = {$rules};
  15. console.log(rules);
  16. _mpApi = parent._mpApi;
  17. mpFrame.start(function(Vue){
  18. require(['axios','system/util/mpFormBuilder'],function(axios,mpFormBuilder){
  19. Vue.use(mpFormBuilder,_mpApi,rules,{
  20. action:'{$save}'
  21. });
  22. new Vue({
  23. el:"#form-add",
  24. mounted:function(){
  25. }
  26. })
  27. });
  28. });
  29. </script>
  30. </body>