Commit 7c3390cd by 无尘

fix: 修改编辑标签限制

parent 1e863422
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-09-01 17:16:25
* @LastEditors: 无尘
* @LastEditTime: 2020-09-04 13:58:02
* @LastEditTime: 2020-09-04 14:39:25
-->
<!--
......@@ -43,7 +43,7 @@
@close="handleDel(index)">
{{item.tagValue}}
</el-tag>
<div class="m-t-5 input-tag-div">
<div v-if="form.childList < 20" class="m-t-5 input-tag-div">
<el-input
class="input-new-tag"
v-model="inputValue"
......@@ -53,7 +53,7 @@
placeholder="请输入标签值并回车添加多个"
@keyup.enter.native="handleInputConfirm">
</el-input>
<span class="input-cell-tip top-40">{{inputValue.length}}/100</span>
<span class="input-cell-tip">{{inputValue.length}}/15</span>
</div>
</el-form-item>
</el-form>
......@@ -243,12 +243,13 @@ export default {
width: 440px;
}
.input-tag-div {
position: relative;
.input-cell-tip {
position: absolute;
top: 2px;
right: 30px;
right: 20px;
display: inline-block;
line-height: 32px;
line-height: 30px;
text-align: right;
font-size: 12px;
color: #c0c4cc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment