|
@@ -114,7 +114,7 @@
|
|
|
<div class="tags-inputs">
|
|
|
<div class="tag-input">
|
|
|
<div class="tag-labels"></div>
|
|
|
- <input type="text" class="clear-input" maxlength="5" oninput="this.value=this.value.replace(/\s+/g,'')">
|
|
|
+ <input type="text" class="clear-input" maxlength="10" oninput="this.value=this.value.replace(/\s+/g,'')">
|
|
|
<div class="tag-placeholder">新增标签回车保存</div>
|
|
|
</div>
|
|
|
<div class="add-tag-button">添加并使用</div>
|
|
@@ -640,7 +640,7 @@ export default {
|
|
|
// 添加标签按钮事件
|
|
|
$('.tags-inputs .add-tag-button').on('click', function () {
|
|
|
var input = $('.tag-input .clear-input')
|
|
|
- if (input.val().length >= 2 && input.val().length < 6) {
|
|
|
+ if (input.val().length >= 2 && input.val().length < 11) {
|
|
|
// ajax提交自定义标签
|
|
|
addTagsAjax(input.val())
|
|
|
}
|