081bf3d6 by joe

1

1 parent ad8ddc13
......@@ -7,7 +7,7 @@
<!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> -->
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> -->
<title></title>
</head>
......
......@@ -192,7 +192,7 @@ export default {
// clipperWidth = 250
// }
clipperWidth = clipperClientRect.width;
clipperWidth = clipperClientRect.width * 0.85;
clipperHeight = clipperWidth / 1.96875;
// if (clipperHeight < 0 || clipperHeight > clipperClientRect.height) {
......
......@@ -10,6 +10,7 @@ module.exports = {
//baseUrl 从 Vue CLI 3.3 起已弃用,请使用publicPath
//baseUrl: process.env.NODE_ENV === "production" ? "./" : "/",
publicPath: process.env.NODE_ENV === "dev" ? "/" : "https://kd.cdn.xyiyang.com/app/f2mb/",
// publicPath: process.env.NODE_ENV === "dev" ? "/" : "./",
// outputDir: 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)
outputDir: webpack_public_path,
......