diff --git a/nezha-fronted/src/components/common/nzTransfer.vue b/nezha-fronted/src/components/common/nzTransfer.vue index 48c671290..93b458680 100644 --- a/nezha-fronted/src/components/common/nzTransfer.vue +++ b/nezha-fronted/src/components/common/nzTransfer.vue @@ -193,8 +193,8 @@ export default { this.selectedSelection = val }, leftToRight () { - this.$emit('leftToRight', this.selectableSelection) this.selectedData.splice(0, 0, ...this.selectableSelection) + this.$emit('leftToRight', this.selectedData) }, rightToLeft () { this.$emit('rightToLeft', this.selectedSelection) diff --git a/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue b/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue index 217885eae..bb810d0e0 100644 --- a/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue +++ b/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue @@ -434,7 +434,7 @@ export default { this.getTableData() }, getTableData () { - this.$refs.transfer.startLoading() + this.$refs.transfer && this.$refs.transfer.startLoading() const searchLabel = { ...this.transfer.searchLabel } if (this.editData.editType === assetConstants.editTypeData.account) { searchLabel.authProtocol = this.editData.authProtocol