Some checks failed
Build docker and publish / linux (1.24.5) (push) Failing after 40s
feat(pay): 添加支付API基础结构 feat(miniapp): 创建支付测试小程序页面与配置 feat(wechatpay): 配置微信支付参数与证书 fix(guild): 修复成员列表查询条件 docs: 更新代码规范文档与需求文档 style: 统一前后端枚举显示与注释格式 refactor(admin): 重构用户奖励发放接口参数处理 test(title): 添加称号效果参数验证测试
2 lines
423 B
JavaScript
2 lines
423 B
JavaScript
import{bq as e}from"./index-DBHnxsy6.js";const t=100,o=600,n={beforeMount(n,a){const r=a.value,{interval:s=t,delay:d=o}=e(r)?{}:r;let i,l;const u=()=>e(r)?r():r.handler(),v=()=>{l&&(clearTimeout(l),l=void 0),i&&(clearInterval(i),i=void 0)};n.addEventListener("mousedown",e=>{0===e.button&&(v(),u(),document.addEventListener("mouseup",()=>v(),{once:!0}),l=setTimeout(()=>{i=setInterval(()=>{u()},s)},d))})}};export{n as v};
|