下載安裝MD5
在main.js中添加md5為公用方法
對需要加密的數(shù)據(jù)直接調(diào)用 this.$md5(加密數(shù)據(jù))
打印加密后的數(shù)據(jù)可以發(fā)現(xiàn)加密成功