| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
- <html>
- <head>
-
- </head>
- <body>
- <div id="space-content">
-
- <pre>{{text}}</pre>
-
- </div>
- </body>
- <script type="text/javascript">
- space.vue = new Vue({
- el: space.appContent,
- data() {
- return {
- text: undefined
- }
- },
- mounted: function () {
- this.init();
- },
- methods: {
- init() {
- space.utils.ajax({
- url: '@service{ name:`sys.getData`, params:`{path: "${path}" }` }@',
- dataType: 'json'
- });
- }
-
- }
-
- })
- </script>
- </html>
|