create.php 673 B

123456789101112131415161718192021222324252627
  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. <script>
  12. var _vm ;
  13. $eb = parent._mpApi;
  14. mpFrame.start(function(Vue){
  15. require(['axios','system/util/mpFormBuilder'],function(axios,mpFormBuilder){
  16. Vue.use(mpFormBuilder,$eb,<?php echo $rules; ?>,{
  17. action:'{$save}'
  18. });
  19. new Vue({
  20. el:"#form-add",
  21. mounted:function(){
  22. }
  23. });
  24. });
  25. });
  26. </script>
  27. </body>