edit.php 654 B

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