epic-designer
Version:
基于vue3的设计器,可视化开发页面表单
2 lines (1 loc) • 539 B
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function a(t=6,e="string"){if(e==="string"){const o=[];for(let r=0;r<t;r++){const n=Math.floor(Math.random()*36);o.push(n<10?n.toString():String.fromCodePoint(87+n))}return o.join("")}const i=10**(t-1);return(i+Math.floor(Math.random()*9*i)).toString()}function s(t){return t.charAt(0).toUpperCase()+t.slice(1)}function f(t){const e=t.lastIndexOf("/");return e===-1?t:t.slice(e+1)}exports.capitalizeFirstLetter=s;exports.getFileNameByUrl=f;exports.getUUID=a;