mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-11 03:46:50 +08:00
feat(knowledge): 添加规则备注功能
- 在 AddRule 组件中增加备注输入框 - 支持文本域输入,满足多行备注需求 - 备注功能适用于分割规则和词汇规则
This commit is contained in:
@@ -24,6 +24,9 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<p v-if="!isPreview" class="tips">支持中文、英文、数字、下划线(_),50个字符以内,不能以下划线为开头</p>
|
<p v-if="!isPreview" class="tips">支持中文、英文、数字、下划线(_),50个字符以内,不能以下划线为开头</p>
|
||||||
|
<el-form-item label="备注" prop="description">
|
||||||
|
<el-input :disabled="isPreview" v-model="form.description" placeholder="请输入规则备注" type="textarea" />
|
||||||
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-section" v-for="(rule, index) in form.ruleList" :key="index">
|
<div class="form-section" v-for="(rule, index) in form.ruleList" :key="index">
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<p v-if="!isPreview" class="tips">支持中文、英文、数字、下划线(_),50个字符以内,不能以下划线为开头</p>
|
<p v-if="!isPreview" class="tips">支持中文、英文、数字、下划线(_),50个字符以内,不能以下划线为开头</p>
|
||||||
|
<el-form-item label="备注" prop="description">
|
||||||
|
<el-input :disabled="isPreview" v-model="form.description" placeholder="请输入规则备注" type="textarea" />
|
||||||
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-section" v-for="(rule, index) in form.ruleList" :key="index">
|
<div class="form-section" v-for="(rule, index) in form.ruleList" :key="index">
|
||||||
|
|||||||
Reference in New Issue
Block a user