From 21f9fd92e282016d93e822e89a1364223ab4e970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Wed, 9 Feb 2022 20:49:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88cdn=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/config/index.js | 4 +- manager/src/config/index.js | 4 +- seller/src/config/index.js | 2 +- seller/src/views/shop/shopSetting.vue | 170 ++++++++++++++++++++------ 4 files changed, 139 insertions(+), 41 deletions(-) diff --git a/buyer/src/config/index.js b/buyer/src/config/index.js index 7569684e..65be2176 100644 --- a/buyer/src/config/index.js +++ b/buyer/src/config/index.js @@ -7,6 +7,6 @@ module.exports = { }, //公司信息 icpMessage: "京ICP备20009696号-1", //icp备案 aMapKey: "b440952723253aa9fe483e698057bf7d", //高德web端申请的api key - enableCDN: true, //生产环境 是否启用cdn加载 vue等js - port:10000, //端口 + enableCDN: false, //生产环境 是否启用cdn加载 vue等js + port: 10000, //端口 }; diff --git a/manager/src/config/index.js b/manager/src/config/index.js index 67f42f81..28e36d58 100644 --- a/manager/src/config/index.js +++ b/manager/src/config/index.js @@ -2,6 +2,6 @@ module.exports = { title: "lilishop", //配置显示在浏览器标签的title aMapKey: "b440952723253aa9fe483e698057bf7d", //高德web端申请的api key website: "https://www.pickmall.cn", //官网地址 - enableCDN: true, //生产环境 是否启用cdn加载 vue等js - port:10003, //端口 + enableCDN: false, //生产环境 是否启用cdn加载 vue等js + port: 10003, //端口 }; diff --git a/seller/src/config/index.js b/seller/src/config/index.js index d15bb2d5..e0e63444 100644 --- a/seller/src/config/index.js +++ b/seller/src/config/index.js @@ -2,6 +2,6 @@ module.exports = { title: "lilishop", //配置显示在浏览器标签的title aMapKey: "b440952723253aa9fe483e698057bf7d", //高德web端申请的api key website: "https://www.pickmall.cn", //官网地址 - enableCDN: true, //生产环境 是否启用cdn加载 vue等js + enableCDN: false, //生产环境 是否启用cdn加载 vue等js port:10002, //端口 }; diff --git a/seller/src/views/shop/shopSetting.vue b/seller/src/views/shop/shopSetting.vue index 4533ff31..2243601d 100644 --- a/seller/src/views/shop/shopSetting.vue +++ b/seller/src/views/shop/shopSetting.vue @@ -1,78 +1,177 @@