删除被墙的cdn 启用pickmall cdn加载资源
parent
9d7a06e867
commit
a3f5212bbc
|
@ -20,6 +20,6 @@ module.exports = {
|
|||
* 如果2021年12月02日之前申请的无视上面代码
|
||||
*/
|
||||
aMapKey: "b440952723253aa9fe483e698057bf7d", //高德web端申请的api key
|
||||
enableCDN: false, //生产环境 是否启用cdn加载 vue等js
|
||||
enableCDN: true, //生产环境 是否启用cdn加载 vue等js
|
||||
port: 10000, //端口
|
||||
};
|
||||
|
|
|
@ -25,15 +25,15 @@ let externals = {
|
|||
|
||||
// 使用CDN的内容
|
||||
let cdn = {
|
||||
css: ["https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/styles/iview.css"],
|
||||
css: ["https://cdn.pickmall.cn/cdn/iview.css"],
|
||||
js: [
|
||||
// vue must at first!
|
||||
"https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/vuex@3.1.2/dist/vuex.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/axios@0.19.2/dist/axios.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/iview.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js"
|
||||
"https://cdn.pickmall.cn/cdn/vue.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vuex.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vue-router.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/axios.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/iview.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/js.cookie.min.js",
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
@ -13,6 +13,6 @@ module.exports = {
|
|||
*/
|
||||
aMapKey: "b440952723253aa9fe483e698057bf7d",
|
||||
website: "https://www.pickmall.cn", //官网地址
|
||||
enableCDN: false, //生产环境 是否启用cdn加载 vue等js
|
||||
enableCDN: true, //生产环境 是否启用cdn加载 vue等js
|
||||
port: 10003, //端口
|
||||
};
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
style="width: 200px"
|
||||
/>
|
||||
</Form-item>
|
||||
|
||||
|
||||
<Form-item label="上传时间">
|
||||
<DatePicker
|
||||
v-model="selectDate"
|
||||
|
@ -189,7 +189,7 @@
|
|||
</Row>
|
||||
</Card>
|
||||
|
||||
|
||||
|
||||
|
||||
<Modal
|
||||
:title="modalTitle"
|
||||
|
@ -589,10 +589,6 @@ export default {
|
|||
video: {
|
||||
url: v.url,
|
||||
},
|
||||
danmaku: {
|
||||
id: v.fileKey,
|
||||
api: "https://api.prprpr.me/dplayer/",
|
||||
},
|
||||
});
|
||||
this.file = v;
|
||||
this.file.msize = ((v.fileSize * 1.0) / (1024 * 1024)).toFixed(2) + " MB";
|
||||
|
@ -815,6 +811,6 @@ export default {
|
|||
this.init();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -30,19 +30,19 @@ let externals = {
|
|||
|
||||
// 使用CDN的内容
|
||||
let cdn = {
|
||||
css: ["https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/styles/iview.css"],
|
||||
css: ["https://cdn.pickmall.cn/cdn/iview.css"],
|
||||
js: [
|
||||
// vue must at first!
|
||||
"https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/vuex@3.1.2/dist/vuex.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/iview.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/vue-lazyload@1.3.3/vue-lazyload.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/dplayer@1.25.0/dist/DPlayer.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vue.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vuex.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vue-router.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/axios.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/iview.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vue-lazyload.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/js.cookie.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/DPlayer.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/wangEditor.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/sockjs.min.js",
|
||||
"https://gw.alipayobjects.com/os/lib/antv/g2/4.1.24/dist/g2.min.js"
|
||||
]
|
||||
};
|
||||
|
|
|
@ -13,6 +13,6 @@ module.exports = {
|
|||
*/
|
||||
aMapKey: "b440952723253aa9fe483e698057bf7d", //高德web端申请的api key
|
||||
website: "https://www.pickmall.cn", //官网地址
|
||||
enableCDN: false, //生产环境 是否启用cdn加载 vue等js
|
||||
enableCDN: true, //生产环境 是否启用cdn加载 vue等js
|
||||
port: 10002, //端口
|
||||
};
|
||||
|
|
|
@ -29,18 +29,18 @@ let externals = {
|
|||
|
||||
// 使用CDN的内容
|
||||
let cdn = {
|
||||
css: ["https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/styles/iview.css"],
|
||||
css: ["https://cdn.pickmall.cn/cdn/iview.css"],
|
||||
js: [
|
||||
// vue must at first!
|
||||
"https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/vuex@3.1.2/dist/vuex.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/vue-router@3.1.3/dist/vue-router.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/view-design@4.1.1/dist/iview.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/vue-lazyload@1.3.3/vue-lazyload.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js",
|
||||
"https://cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vue.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vuex.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vue-router.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/axios.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/iview.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/vue-lazyload.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/js.cookie.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/wangEditor.min.js",
|
||||
"https://cdn.pickmall.cn/cdn/sockjs.min.js",
|
||||
"https://gw.alipayobjects.com/os/lib/antv/g2/4.1.24/dist/g2.min.js"
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue