js.html 862 B

12345678910111213141516
  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/common.js?{{ .cur_ver }}"></script>
  9. <script src="{{ .base_path }}assets/js/util/date-util.js?{{ .cur_ver }}"></script>
  10. <script src="{{ .base_path }}assets/js/util/utils.js?{{ .cur_ver }}"></script>
  11. <script src="{{ .base_path }}assets/js/langs.js"></script>
  12. <script>
  13. const basePath = '{{ .base_path }}';
  14. axios.defaults.baseURL = basePath;
  15. </script>
  16. {{end}}