mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-11 23:58:46 +08:00
refactor:优化展开收起
This commit is contained in:
@@ -26,8 +26,10 @@
|
||||
<!-- 描述 - 添加展开收起功能 -->
|
||||
<div
|
||||
class="info__desc"
|
||||
:class="{ 'is-expanded': expandedItems[item.id] }"
|
||||
@click="toggleExpand(item.id)"
|
||||
:class="{
|
||||
'is-expanded': expandedItems[(item.messageId || '') + (item.channelId || '')],
|
||||
}"
|
||||
@click="toggleExpand((item.messageId || '') + (item.channelId || ''))"
|
||||
v-html="item.content"
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user