From a06e081bcd7a68952306e045ad898d36daca930c Mon Sep 17 00:00:00 2001 From: xiaosi <2652281683@qq.com> Date: Mon, 31 Aug 2026 10:27:37 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=A2=9E=E5=8A=A0=20Devices=20?= =?UTF-8?q?=E7=9C=9F=E5=88=86=E9=A1=B5=E4=B8=8E=E5=BC=B9=E7=AA=97=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E6=94=B6=E5=8F=A3=E8=AE=BE=E8=AE=A1=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 覆盖 destroy-on-close、列表专用分页与死 CSS 清理。 --- .../2026-08-28-devices-pagination-cleanup.md | 61 +++++++++++++++++++ ...08-28-devices-pagination-cleanup-design.md | 59 ++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 docs/superpowers/plans/2026-08-28-devices-pagination-cleanup.md create mode 100644 docs/superpowers/specs/2026-08-28-devices-pagination-cleanup-design.md diff --git a/docs/superpowers/plans/2026-08-28-devices-pagination-cleanup.md b/docs/superpowers/plans/2026-08-28-devices-pagination-cleanup.md new file mode 100644 index 0000000..e443b2d --- /dev/null +++ b/docs/superpowers/plans/2026-08-28-devices-pagination-cleanup.md @@ -0,0 +1,61 @@ +# Devices 真分页 + 弹窗/样式收口 Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** 全仓 `t-dialog` 补 `destroy-on-close`;Devices 列表专用真分页;删除 `prototype.css` 死样式。 + +**Architecture:** 弹窗统一销毁重建;DevicesView 自管分页请求,不改 `devicesStore.load` 近全量语义;CSS 只删确认无引用的规则。 + +**Tech Stack:** Vue 3、tdesign-vue-next、现有 `/v1/docks` `/v1/drones` 分页契约 + +**Spec:** `docs/superpowers/specs/2026-08-28-devices-pagination-cleanup-design.md` + +--- + +### Task 1: A — t-dialog destroy-on-close + +**Files:** 所有含 `