Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
8 years ago
Commit
7b73ef3c72e380a097e08ee6033e8def0af70d32
1 parent
098d2df3
还原js修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
public/gulpfile.js
public/js/product/new-detail.page.js
public/gulpfile.js
View file @
7b73ef3
...
...
@@ -219,7 +219,7 @@ gulp.task('webpack-dev-server', () => {
devConfig
.
plugins
[
0
]
=
new
ExtractTextPlugin
(
'bundle/[name].css'
);
devConfig
.
plugins
.
push
(
new
webpack
.
HotModuleReplacementPlugin
());
//
devConfig.entry.libs.unshift(`webpack-dev-server/client?${devConfig.output.publicPath}`, 'webpack/hot/dev-server');
devConfig
.
entry
.
libs
.
unshift
(
`
webpack
-
dev
-
server
/
client
?
$
{
devConfig
.
output
.
publicPath
}
`
,
'webpack/hot/dev-server'
);
new
WebpackDevServer
(
webpack
(
devConfig
),
{
contentBase
:
'.'
,
...
...
public/js/product/new-detail.page.js
View file @
7b73ef3
$
(
function
(){
require
(
'../../scss/product/detail/_index.css'
);
require
(
'../../scss/product/detail/_index.css'
);
var
$
=
require
(
'yoho-jquery'
);
var
productId
=
$
(
'#productId'
).
val
();
var
goodsId
=
$
(
'#goodsId'
).
val
();
...
...
@@ -278,5 +277,3 @@ setTimeout(() => {
});
},
200
);
}(
productSkn
,
productId
,
brandId
));
})();
...
...
Please
register
or
login
to post a comment