Commit Graph

17 Commits

Author SHA1 Message Date
fb071e71a1 fix: 修复分享链接的多个问题
- reset() 清空时一并剥离 share 参数,否则重载后分享代码会被写回
- share() 以去掉 query/share 的地址为基址,避免预设代码在 init 里覆盖分享内容
- 打开分享链接前比对本地已存代码,会覆盖用户改动时先弹窗确认
- SQL 分享带上选中的数据表 id,接收方运行结果与分享者一致
- 分享负载的 code/table 字段补类型校验
- 链接损坏或预设加载失败时给出提示,不再静默吞掉
- 剪贴板写入失败时不再提示"已复制"

组件外的 init 阶段拿不到 useMessage(),新增 composables/notice.ts
用 createDiscreteApi 提供提示与确认框,主题跟随 useDark()。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CWT2cy7mkZevZR4WVVfAVu
2026-09-07 04:08:54 -06:00
62ef50fb76 Move SQL table picker next to the language selector
Previously the candidate-table dropdown lived inside SqlSection's
content pane; moved it into the header alongside SelectLanguage so
table selection is visible regardless of scroll position.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-05 00:15:02 -06:00
eb9cda14ff update 2025-03-30 11:22:04 +08:00
10676f2714 fix 2024-12-22 21:38:48 +08:00
873c2fbaec update 2024-12-22 18:48:47 +08:00
84e0034a15 fix 2024-12-22 02:17:02 +08:00
c9bcd42ada 添加调试模块 2024-12-22 02:06:54 +08:00
c63282462a update 2024-07-04 21:01:36 +08:00
db030b5869 update 2024-06-27 05:50:16 +00:00
a51407c856 add share 2024-03-12 22:33:27 +08:00
31ab7e86c4 update 2024-01-25 13:15:49 +08:00
946ec691af update 2024-01-23 14:36:21 +08:00
7591b065d3 update 2024-01-22 17:33:01 +08:00
e7f09b4dcc update 2024-01-22 14:00:43 +08:00
230cf1bdeb update 2024-01-22 10:44:38 +08:00
d940c684ad update 2024-01-21 21:41:31 +08:00
c4bdcac452 first commit 2024-01-21 20:48:03 +08:00