Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
h5-base
Commits
33698c91
Commit
33698c91
authored
Jun 10, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
873fd175
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
webpack.prod.conf.js
build/webpack.prod.conf.js
+1
-1
main.js
src/main.js
+4
-4
No files found.
build/webpack.prod.conf.js
View file @
33698c91
...
...
@@ -38,7 +38,7 @@ const webpackConfig = merge(baseWebpackConfig, {
uglifyOptions
:
{
compress
:
{
warnings
:
false
,
//
drop_console:true
drop_console
:
true
}
},
sourceMap
:
config
.
build
.
productionSourceMap
,
...
...
src/main.js
View file @
33698c91
...
...
@@ -9,7 +9,7 @@ import VueClipboard from 'vue-clipboard2'
import
sa
from
'sa-sdk-javascript'
;
import
'mint-ui/lib/style.css'
import
scroll
from
"./base/scroll/scroll"
import
VConsole
from
"../static/vConsole/vConsole.min.js"
//
import VConsole from "../static/vConsole/vConsole.min.js"
import
{
Popup
,
Lazyload
,
Button
,
Dialog
}
from
'vant'
;
Vue
.
config
.
productionTip
=
false
;
Vue
.
prototype
.
$sa
=
sa
;
...
...
@@ -39,9 +39,9 @@ Vue.component('scroll', scroll);
/* eslint-disable no-new */
if
(
process
.
env
.
NODE_ENV
!=
'production'
){
var
vConsole
=
new
VConsole
();
}
//
if(process.env.NODE_ENV != 'production'){
//
var vConsole = new VConsole();
//
}
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
// chrome
if
(
document
.
body
.
scrollTop
!==
'undefined'
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment