一、下载vue2.x,下载element-ui.js以及css二、html文件<!DOCTYPEhtml><html><head><metacharset="utf-8"/><title…
1.下载element-uinpmielement-ui--production2.在main.js中引用importElementfrom'element-ui'import'element-ui/lib/theme-chalk/inde…
1//手机号码验证2constvalidatePhone=(rule,value,callback)=>{3constpatter=newRegExp('^1([358][0-9]|4[579]|66|7[0135678]|9[89]…