Files
YG_FT/frontend/dist/assets/index-sBiRi5wE.js
wuyongtao 2b10c013ce feat: 更新后端平台模块、前端组件及构建产物,新增工作计划文档
- 更新 backend 平台 API endpoints 及 platform_store
- 更新前端 ComputeNodesView、DataProcessCreateView、FineTuneCreateView 等组件
- 更新前端 API 模块(compute、fineTune)
- 重构 frontend/dist 构建产物(新 hash)
- 新增 docs/2026-07-24-work-plan.md 工作计划文档

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-24 10:27:52 +08:00

2 lines
612 B
JavaScript

import{b8 as c}from"./index-CD29OCdJ.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};