Skip to content

Commit 527ddbf

Browse files
committed
fix: 修复文档表格按照状态过滤没有生成问题中的缺陷
--bug=1048200 --user=刘瑞斌 【知识库】文档列表按文件状态排序,少了一个「生成问题中」的选项 https://www.tapd.cn/57709429/s/1601157
1 parent da38621 commit 527ddbf

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.github/workflows/typos_check.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Typos Check
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
types: [opened, synchronize, reopened]
38

49
jobs:
510
run:

.typos.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[files]
2+
extend-exclude = [
3+
'apps/setting/models_provider/impl/*/icon/*'
4+
]

ui/src/views/document/index.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@
123123
:command="beforeCommand('status', '3')"
124124
>排队中</el-dropdown-item
125125
>
126+
<el-dropdown-item
127+
:class="filterMethod['status'] === '4' ? 'is-active' : ''"
128+
class="justify-center"
129+
:command="beforeCommand('status', '4')"
130+
>生成问题中</el-dropdown-item
131+
>
126132
</el-dropdown-menu>
127133
</template>
128134
</el-dropdown>

0 commit comments

Comments
 (0)