修改 认证清单-添加重复提示语
This commit is contained in:
+16
-1
@@ -685,7 +685,22 @@
|
|||||||
Action(url, query).then((res) => {
|
Action(url, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
if (res.result && res.result.length > 0) {
|
||||||
|
let detailedWarningList = []
|
||||||
|
res.result.forEach(val => {
|
||||||
|
detailedWarningList.push(
|
||||||
|
< div > { val } < /div>)
|
||||||
|
})
|
||||||
|
this.$warning({
|
||||||
|
content: (
|
||||||
|
< div >
|
||||||
|
{ detailedWarningList }
|
||||||
|
< /div>
|
||||||
|
)
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
|
}
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.$emit('addModelForm')
|
this.$emit('addModelForm')
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user