js.html 723 B

1234567891011121314
  1. {{define "js"}}
  2. <script src="{{ .base_path }}assets/vue/vue.min.js?{{ .cur_ver }}"></script>
  3. <script src="{{ .base_path }}assets/moment/moment.min.js"></script>
  4. <script src="{{ .base_path }}assets/ant-design-vue/antd.min.js"></script>
  5. <script src="{{ .base_path }}assets/axios/axios.min.js?{{ .cur_ver }}"></script>
  6. <script src="{{ .base_path }}assets/qs/qs.min.js"></script>
  7. <script src="{{ .base_path }}assets/js/axios-init.js?{{ .cur_ver }}"></script>
  8. <script src="{{ .base_path }}assets/js/util/date-util.js?{{ .cur_ver }}"></script>
  9. <script src="{{ .base_path }}assets/js/util/index.js?{{ .cur_ver }}"></script>
  10. <script>
  11. const basePath = '{{ .base_path }}';
  12. axios.defaults.baseURL = basePath;
  13. </script>
  14. {{end}}