Skip to content

Commit 6ffb043

Browse files
authored
Merge pull request #72 from mayinrain/master
fix: 逻辑兜底
2 parents 16e0669 + 663b6f6 commit 6ffb043

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fesjs/traction-widget",
3-
"version": "1.12.7",
3+
"version": "1.12.8",
44
"description": "集合大型中台项目使用到的通用组件和工具函数",
55
"scripts": {
66
"docs:dev": "npm run build && node docs/.vitepress/scripts/generate-doc.js && vitepress dev docs",

packages/traction-widget/components/TagSelector/TagSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
closable
2222
@close="deleteTag(item, index)"
2323
>
24-
{{ cacheOptions.find((p) => p.value === item)[props.tagKey] }}
24+
{{ cacheOptions.find((p) => p.value === item)?.[props.tagKey] || '' }}
2525
</FTag>
2626
</div>
2727
</div>

0 commit comments

Comments
 (0)