feat: 编辑备注输入框增加placeholder提示

This commit is contained in:
ulleo 2023-11-16 16:10:35 +08:00
parent 29b6b679f0
commit 99f7027760
2 changed files with 9 additions and 1 deletions

View File

@ -952,6 +952,7 @@ export default {
field_can_not_empty: '字段不能为空',
conditions_can_not_empty: '字段的条件不能为空,若无条件,请直接删除该字段',
remark: '备注',
remark_placeholder: '备注限制50个字符',
remark_show: '显示备注',
remark_edit: '编辑备注',
remark_bg_color: '背景填充',

View File

@ -358,7 +358,14 @@ watch(
>
<div @keydown.stop @keyup.stop>
<el-form-item :label="t('chart.remark')" class="form-item" prop="chartShowName">
<el-input type="textarea" autosize v-model="tempRemark" :maxlength="50" clearable />
<el-input
type="textarea"
autosize
v-model="tempRemark"
:maxlength="50"
clearable
:placeholder="t('chart.remark_placeholder')"
/>
</el-form-item>
</div>
<template #footer>