|
|
@@ -58,6 +58,9 @@
|
|
|
<script nonce="*NONCE_TOKEN*" type="text/javascript" src="/static/trumbowyg/js/trumbowyg.upload.min.js"></script>
|
|
|
<script nonce="*NONCE_TOKEN*" type="text/javascript" src="/static/trumbowyg/js/trumbowyg.zh_cn.min.js"></script>
|
|
|
|
|
|
+ <!-- ECharts 必须在 Vue 等框架之前加载,确保全局变量可用 -->
|
|
|
+ <script nonce="*NONCE_TOKEN*" type="text/javascript" src="/static/echarts/dist/echarts.min.js"></script>
|
|
|
+
|
|
|
<!--VueJS has 2 different versions: the full version and the runtime version. 'unsafe-eval' is only needed for the full version of VueJS; the runtime version doesn't need it.
|
|
|
The runtime-only build is fully CSP-compliant. When using the runtime-only build with Webpack + vue-loader or Browserify + vueify, your templates will be precompiled into render functions which work perfectly in CSP environments. -->
|
|
|
<script nonce="*NONCE_TOKEN*" type="text/javascript" src="/static/vue/dist/vue.global.js"></script>
|
|
|
@@ -69,7 +72,7 @@
|
|
|
<script nonce="*NONCE_TOKEN*" type="text/javascript" src="/static/sortablejs/Sortable.js"></script>
|
|
|
|
|
|
<!-- <link rel="stylesheet" type="text/css" href="/static/summernote/dist/summernote.min.css"> -->
|
|
|
- <link nonce="*NONCE_TOKEN_CSS*" rel="stylesheet" type="text/css" href="https://unpkg.com/@wangeditor/editor@latest/dist/css/style.css">
|
|
|
+ <!-- <link nonce="*NONCE_TOKEN_CSS*" rel="stylesheet" type="text/css" href="https://unpkg.com/@wangeditor/editor@latest/dist/css/style.css"> -->
|
|
|
|
|
|
|
|
|
|
|
|
@@ -84,7 +87,7 @@
|
|
|
<div id="app">
|
|
|
</div>
|
|
|
<div id="refreshCount"></div>
|
|
|
- <script defer="defer" src="/static/echarts/dist/echarts.min.js"></script>
|
|
|
+ <!-- Deleted: <script defer="defer" src="/static/echarts/dist/echarts.min.js"></script> -->
|
|
|
|
|
|
|
|
|
<!-- <script defer="defer" type="text/javascript" src="/static/summernote/dist/summernote.min.js"></script>
|