Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
lilejia-f2mb-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
081bf3d6
authored
2019-09-02 18:41:50 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
ad8ddc13
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
public/index.html
src/pages/sign/components/ImageClipper.vue
vue.config.js
public/index.html
View file @
081bf3d
...
...
@@ -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>
...
...
src/pages/sign/components/ImageClipper.vue
View file @
081bf3d
...
...
@@ -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) {
...
...
vue.config.js
View file @
081bf3d
...
...
@@ -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
,
...
...
Please
register
or
sign in
to post a comment