Showing
2 changed files
with
2 additions
and
2 deletions
@@ -191,7 +191,7 @@ gulp.task('webpack-dev-server', () => { | @@ -191,7 +191,7 @@ gulp.task('webpack-dev-server', () => { | ||
191 | headers: { | 191 | headers: { |
192 | 'Access-Control-Allow-Origin': '*' | 192 | 'Access-Control-Allow-Origin': '*' |
193 | } | 193 | } |
194 | - }).listen(5001, 'localhost', (err) => { | 194 | + }).listen(5001, '0.0.0.0', (err) => { |
195 | if (err) { | 195 | if (err) { |
196 | throw new gutil.PluginError('webpack-dev-server', err); | 196 | throw new gutil.PluginError('webpack-dev-server', err); |
197 | } | 197 | } |
@@ -10,7 +10,7 @@ var $ = require('yoho-jquery'), | @@ -10,7 +10,7 @@ var $ = require('yoho-jquery'), | ||
10 | require('../common'); | 10 | require('../common'); |
11 | 11 | ||
12 | // 星搭配收藏请求 | 12 | // 星搭配收藏请求 |
13 | -$(document).on('click', '.collection', function() { | 13 | +$('.collocation-list').on('click', '.collection', function() { |
14 | var $that = $(this), | 14 | var $that = $(this), |
15 | $icon = $that.find('.collected-ico'); | 15 | $icon = $that.find('.collected-ico'); |
16 | 16 |
-
Please register or login to post a comment