import{K as o}from"./index.35bb0716.js";var e={mobileNoValid:o=>/^(1)\d{10}$/.test(o),passwordValid:o=>/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,12}$/.test(o),getQueryString(o){const e=new RegExp("(^|&)"+o+"=([^&]*)(&|$)"),n=decodeURIComponent(window.location.search).substr(1).match(e);return null!=n?n[2]:null},errorDialog(e,n,t=null){o({title:t||(1===e?"必填项校验":"规则校验"),content:n,showCancel:!1,success:function(o){o.confirm?console.log("用户点击确定"):o.cancel&&console.log("用户点击取消")}})}};export{e as c};
