- 新增 backend/app/modules/compute_gateway(client/sync)计算网关模块 - 新增 backend/app/workers/compute_poller 计算轮询 worker - 新增 compute/agent/process_manager 进程管理器 - 新增 scripts/ 脚本目录 - 更新 Docker 部署配置(app/compute/nginx) - 更新后端平台 API、数据库 SQL、core 配置 - 更新前端多个视图组件及 API 模块 - 重构 frontend/dist 构建产物(新 hash) - 更新多项文档 Co-Authored-By: Claude <noreply@anthropic.com>
2 lines
612 B
JavaScript
2 lines
612 B
JavaScript
import{b8 as c}from"./index-Ds9AETjS.js";const s="_RepeatClick",f={beforeMount(t,n){const e=n.value,{interval:d=100,delay:l=600}=c(e)?{}:e;let o,r;const i=()=>c(e)?e():e.handler(),a=()=>{r&&(clearTimeout(r),r=void 0),o&&(clearInterval(o),o=void 0)},u=v=>{v.button===0&&(a(),i(),document.addEventListener("mouseup",a,{once:!0}),r=setTimeout(()=>{o=setInterval(()=>{i()},d)},l))};t[s]={start:u,clear:a},t.addEventListener("mousedown",u)},unmounted(t){if(!t[s])return;const{start:n,clear:e}=t[s];n&&t.removeEventListener("mousedown",n),e&&(e(),document.removeEventListener("mouseup",e)),t[s]=null}};export{f as v};
|