npm install js-md5 --save
import md5 from 'js-md5' // 调用 ... ... // 加密一段密码 md5(this.password + 'GOLF'),