Skip to content

Commit 9143c1c

Browse files
committed
add new readme.md
1 parent 4f91320 commit 9143c1c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Use CDN Script(ES5)
5454

5555
},
5656
events: {
57-
imageUploaded(res) {
57+
imageUploaded: function(res) {
5858
if (res.errcode == 0) {
5959
this.src = 'http://img1.vued.vanthink.cn/vued751d13a9cb5376b89cb6719e86f591f3.png';
6060
}

webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,13 @@ module.exports = {
3434
plugins: ['transform-runtime']
3535
},
3636
plugins: [
37-
/**new webpack.optimize.UglifyJsPlugin( {
37+
new webpack.optimize.UglifyJsPlugin( {
3838
minimize : true,
3939
sourceMap : false,
4040
mangle: true,
4141
compress: {
4242
warnings: false
4343
}
4444
} )
45-
*/
4645
]
4746
}

0 commit comments

Comments
 (0)