Skip to content

Commit

Permalink
fix(CustomReply): 修复公共条件的展示
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAnotherID committed Sep 3, 2024
1 parent 9ad5824 commit 01fad09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -902,4 +902,4 @@ declare module '@vue/runtime-core' {
readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>
readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>
}
}
}
3 changes: 1 addition & 2 deletions src/components/mod/PageCustomReply.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@
</template>

<template v-if="conditions && conditions.length > 0">
<custom-reply-condition v-for="(_, index2) in (conditions || [])" :key="index2"
v-model="conditions[index2]" @delete="deleteAnyItem(conditions, index2)"/>
<custom-reply-conditions v-model="conditions"/>
</template>
<template v-else>
<el-text type="info">当前无公共条件</el-text>
Expand Down

0 comments on commit 01fad09

Please sign in to comment.