对接问题知识库的转发

This commit is contained in:
范强强
2022-08-31 17:03:04 +08:00
parent a9d023c036
commit ba2312c33f
2 changed files with 30 additions and 10 deletions
+10 -5
View File
@@ -48,10 +48,10 @@
type: Object,
default: {}
},
title:{
title: {
type: String,
default:''
},
default: ''
}
},
data() {
return {
@@ -102,7 +102,12 @@
this.visibleTree = false
},
handleSubmit() {
this.$emit('SelectedByForm',this.userIds.join(','))
if (this.userIds && this.userIds.length > 0) {
this.submitLoading = true
this.$emit('SelectedByForm', this.userIds.join(','))
} else {
this.$message.warning(this.$t('selectLeastOne'))
}
},
onSearch(e) {
this.gData = []
@@ -171,7 +176,7 @@
.drawer-bootom-button {
position: absolute;
bottom: 0;
z-index:100;
z-index: 100;
width: 100%;
border-top: 1px solid #e8e8e8;
padding: 10px 16px;