随笔分类 -  开发工具

摘要:import axios from 'axios' import store from '@/store' import storage from 'store' import notification from 'geely-design-vue/es/notification' import { 阅读全文
posted @ 2022-01-07 17:04 一个爱好城建的程序猿 阅读(363) 评论(0) 推荐(0)
摘要:// 手机号 export const mobileReg = /^1[3456789]\d{9}$/ // 数字 export const numberReg = /^[0-9]+$/ // 数字和字母 export const wordAndNumberReg = /^[0-9a-zA-Z]+$ 阅读全文
posted @ 2022-01-07 17:03 一个爱好城建的程序猿 阅读(220) 评论(0) 推荐(0)
摘要:export function getType(target) { return Object.prototype.toString.call(target).slice(8, -1) } export function isObject(target) { return getType(targe 阅读全文
posted @ 2022-01-07 17:02 一个爱好城建的程序猿 阅读(432) 评论(0) 推荐(0)