Update descriptions

This commit is contained in:
the1812 2024-10-20 11:17:45 +08:00
parent 437b7ad2a2
commit bb4914d1d1
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,3 @@
替换评论中的内容.
可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情.
可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情, 留空则会移除命中的关键词.

View File

@ -1,7 +1,12 @@
<template>
<div class="comment-content-replace-row">
<div class="comment-content-replace-row-from">
<TextBox :text="row.from" change-on-blur @change="emitChange({ from: $event, to: row.to })" />
<TextBox
placeholder="查找"
:text="row.from"
change-on-blur
@change="emitChange({ from: $event, to: row.to })"
/>
<VButton type="transparent" icon title="删除此项" @click="emitDelete">
<VIcon :size="14" icon="mdi-trash-can-outline" />
</VButton>
@ -15,7 +20,12 @@
/>
</svg>
</VIcon>
<TextBox :text="row.to" change-on-blur @change="emitChange({ from: row.from, to: $event })" />
<TextBox
placeholder="替换为"
:text="row.to"
change-on-blur
@change="emitChange({ from: row.from, to: $event })"
/>
</div>
</div>
</template>