Skip to content

Commit

Permalink
导入按钮将在 LCU 未连接时不可用
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanxven committed Aug 12, 2024
1 parent 91bb03e commit d6835d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

- 引入了一个数据源 `gtimg`,因此现在自动选择模块的英雄列表,可以按照模糊名称或称号查找。

- 在主窗口标题栏添加了一个按钮,可以快速打开辅助窗口。

## 调整

- 辅助窗口现在划分为两种状态:普通状态和 OP.GG 状态。前者保持原本功能,后者将展示 OP.GG 页面,并且会在英雄选择阶段弹出。可在左上角切换。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,14 @@
>
<span style="font-size: 13px">将当前装备导入到出装方案中</span>
<div style="width: 76px">
<NButton size="tiny" type="primary" secondary @click="handleAddToItemSet">导入</NButton>
<NButton
size="tiny"
type="primary"
secondary
@click="handleAddToItemSet"
:disabled="lc.state !== 'connected'"
>导入</NButton
>
</div>
</div>
</div>
Expand Down

0 comments on commit d6835d0

Please sign in to comment.