bug
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
<el-form-item label="生效部门" prop="deptList">
|
||||
<ai-picker :instance="instance" v-model="form.deptList" @pick="e => onUserChange(e)" :multiple="true" dialogTitle="选择部门" action="/app/wxcp/wxdepartment/departList">
|
||||
<div class="time-select">
|
||||
<span class="dept-name" v-if="6666 && form.deptList.length">已选择{{form.deptList.length}}个部门</span>
|
||||
<span class="dept-name" v-if="form.deptList && form.deptList.length">已选择{{form.deptList.length}}个部门</span>
|
||||
<span class="dept-name" style="color:#999;" v-else>请选择</span>
|
||||
<i class="el-icon-arrow-down"></i>
|
||||
</div>
|
||||
@@ -156,7 +156,6 @@ export default {
|
||||
this.dialog = true
|
||||
},
|
||||
add() {
|
||||
this.form.deptList = []
|
||||
this.dialog = true
|
||||
},
|
||||
onUserChange (e) {
|
||||
@@ -186,6 +185,7 @@ export default {
|
||||
if(res?.code == 0) {
|
||||
this.$message.success(this.form.id ? '关键词编辑成功' : '关键词添加成功')
|
||||
setTimeout(() =>{
|
||||
this.form.deptList = []
|
||||
this.dialog = false
|
||||
this.getTableData()
|
||||
this.flag = false
|
||||
|
||||
Reference in New Issue
Block a user