Commit dd326a69 by 李伟康

修复BUG

1 parent e81620b8
......@@ -23,6 +23,7 @@
filterable
placeholder="请选择"
:popper-append-to-body="false"
ref="select"
>
<template v-if="addState || editState">
<div class="input-box">
......@@ -220,7 +221,6 @@ export default {
const { editGroupText, addState, $message } = this
try {
if (!editGroupText.newGroup) throw '请输入话术组!'
if (addState) {
this.chatGroup.map(e => {
if (e.value == editGroupText.newGroup) throw '该话术组已存在!'
......@@ -255,12 +255,17 @@ export default {
})
}
this.showEditGroupInput('')
} catch (error) {
$message({
message: error,
type: 'error'
})
}
this.$refs.select.blur()
},
filterMethod(e){
console.log(e)
},
/**删除 */
delChatLibrary ({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!