|
|
@ -289,14 +289,14 @@ export default { |
|
|
|
if ((selectData && selectData.length > 1) || (selectData && selectData.length === 0)) { |
|
|
|
this.isProject = true |
|
|
|
this.isAnjuan = true |
|
|
|
this.$refs.anjuan.selections = [] |
|
|
|
this.$refs.file.selections = [] |
|
|
|
this.projectSelection = {} |
|
|
|
this.$nextTick(() => { |
|
|
|
if (this.$refs.anjuan) { |
|
|
|
this.$refs.anjuan.selections = [] |
|
|
|
this.$refs.anjuan.$refs.table.clearSelection() |
|
|
|
this.clearAnjuan() |
|
|
|
if (this.$refs.file) { |
|
|
|
this.$refs.file.selections = [] |
|
|
|
this.$refs.file.$refs.table.clearSelection() |
|
|
|
this.clearFile() |
|
|
|
} |
|
|
@ -340,10 +340,11 @@ export default { |
|
|
|
} |
|
|
|
if ((selectData && selectData.length > 1) || (selectData && selectData.length === 0)) { |
|
|
|
this.isAnjuan = true |
|
|
|
this.$refs.file.selections = [] |
|
|
|
|
|
|
|
this.anjuanSelection = {} |
|
|
|
this.$nextTick(() => { |
|
|
|
if (this.$refs.file) { |
|
|
|
this.$refs.file.selections = [] |
|
|
|
this.$refs.file.$refs.table.clearSelection() |
|
|
|
this.clearFile() |
|
|
|
} |
|
|
|