Browse Source

update: 替换cdn,把cdn资源下载到本地

pull/1/head
赵俊哲 4 years ago
parent
commit
73443e5ccc
  1. 1
      static/cdnjs/element/element-ui.min.js
  2. 1
      static/cdnjs/element/element.css
  3. 6
      static/cdnjs/element/vue.min.js
  4. 7
      views/admin_classify.ejs
  5. 6
      views/header.ejs

1
static/cdnjs/element/element-ui.min.js vendored

File diff suppressed because one or more lines are too long

1
static/cdnjs/element/element.css

File diff suppressed because one or more lines are too long

6
static/cdnjs/element/vue.min.js vendored

File diff suppressed because one or more lines are too long

7
views/admin_classify.ejs

@ -109,10 +109,11 @@
</div> </div>
</div> </div>
</div> </div>
<link href="https://cdn.bootcss.com/element-ui/2.13.0/theme-chalk/index.css" rel="stylesheet"> <link href="cdnjs/element/element.css" rel="stylesheet">
<!-- 引入组件库 --> <!-- 引入组件库 -->
<script src="https://cdn.jsdelivr.net/npm/vue"></script> <script src="cdnjs/element/vue.min.js"></script>
<script src="https://cdn.bootcss.com/element-ui/2.13.0/index.js"></script> <script src="cdnjs/element/element-ui.min.js"></script>
<% include problem_table %> <% include problem_table %>
<script> <script>
new window.Vue({ new window.Vue({

6
views/header.ejs

@ -33,10 +33,10 @@
<link href="<%- this.builtInCdnUrl %>/google-fonts/exo-2.css" rel="stylesheet"> <link href="<%- this.builtInCdnUrl %>/google-fonts/exo-2.css" rel="stylesheet">
<% } %> <% } %>
<script src="<%- lib('jquery/3.3.1/jquery.min.js') %>"></script> <script src="<%- lib('jquery/3.3.1/jquery.min.js') %>"></script>
<link href="https://cdn.bootcss.com/element-ui/2.13.0/theme-chalk/index.css" rel="stylesheet"> <link href="cdnjs/element/element.css" rel="stylesheet">
<!-- 引入组件库 --> <!-- 引入组件库 -->
<script src="https://cdn.jsdelivr.net/npm/vue"></script> <script src="cdnjs/element/vue.min.js"></script>
<script src="https://cdn.bootcss.com/element-ui/2.13.0/index.js"></script> <script src="cdnjs/element/element-ui.min.js"></script>
<% if (syzoj.config.google_analytics && syzoj.config.google_analytics !== 'UA-XXXXXXXX-X') { %> <% if (syzoj.config.google_analytics && syzoj.config.google_analytics !== 'UA-XXXXXXXX-X') { %>
<script> <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

Loading…
Cancel
Save