1002310118_edit.jsp 574 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <html>
  3. <head>
  4. </head>
  5. <body>
  6. <div id="space-content">
  7. <pre>{{text}}</pre>
  8. </div>
  9. </body>
  10. <script type="text/javascript">
  11. space.vue = new Vue({
  12. el: space.appContent,
  13. data() {
  14. return {
  15. text: undefined
  16. }
  17. },
  18. mounted: function () {
  19. this.init();
  20. },
  21. methods: {
  22. init() {
  23. space.utils.ajax({
  24. url: '@service{ name:`sys.getData`, params:`{path: "${path}" }` }@',
  25. dataType: 'json'
  26. });
  27. }
  28. }
  29. })
  30. </script>
  31. </html>