update main.js fix bug
Merge branch 'feature-update'