diff --git a/src/App.vue b/src/App.vue index c74e5c3..1f7c373 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,13 +1,13 @@ diff --git a/src/components/Function/components/ShortcutKey.vue b/src/components/Function/components/ShortcutKey.vue index c903491..3d38b7c 100644 --- a/src/components/Function/components/ShortcutKey.vue +++ b/src/components/Function/components/ShortcutKey.vue @@ -1,14 +1,16 @@ @@ -33,13 +46,17 @@ watch(currentRole, handleUpdate) - 请选择对话的角色 - 添加角色 + {{ isAddNew ? '请填写信息' : '请选择对话的角色' }} + 添加角色 @@ -50,36 +67,36 @@ watch(currentRole, handleUpdate) e.stopPropagation()" + v-if="item.isEdit" + @click.stop /> {{ item.name }} e.stopPropagation()" + v-if="item.isEdit" + @click.stop > {{ item.description }} @@ -87,23 +104,16 @@ watch(currentRole, handleUpdate) - e.stopPropagation()" - > - - - - - - + + + + + + + + + + @@ -114,7 +124,7 @@ watch(currentRole, handleUpdate)