1.1.10 • Published 5 years ago
common-fun v1.1.10
使用方式:
npm i common-fun --save
import {testEmail} from 'common-fun'
methods: {
testFormat () {
let email = '333@qq.com'
this.flag = testEmail(email)
.....
common-fun 是一个公共函数库,主要是用于开发过程中提高工作效率,减少重复性开发
testEmail,
testPhone,
testPhoneFix,
addClass,
IsPC,
setCookie,
getCookie,
delCookie,
numFix,
isNumber,
selfDateFormat