|
@@ -44,6 +44,7 @@
|
|
|
placeholder="请输入分组名称,限15个字"
|
|
|
v-model.trim="newGroupName"
|
|
|
maxlength="15"
|
|
|
+ @keydown.enter="newGroupName && onConfirmAddingGroup()"
|
|
|
>
|
|
|
</div>
|
|
|
|
|
@@ -53,6 +54,7 @@
|
|
|
</button>
|
|
|
<button
|
|
|
class="ui-button submit"
|
|
|
+ :class="{disable: !newGroupName}"
|
|
|
@click="onConfirmAddingGroup"
|
|
|
>
|
|
|
确定
|