From 1fc96f2c7518f3be1fd1e032c9c8536476159851 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 14 Mar 2022 17:59:14 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1680=20fix=EF=BC=9AAsset=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E4=BF=9D=E5=AD=98=E6=88=90=E5=8A=9F?= =?UTF-8?q?=EF=BC=8C=E6=9F=A5=E7=9C=8B=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=95=B0=E6=8D=AE=E4=BF=AE=E6=94=B9=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/nzTransfer.vue | 2 +- .../src/components/common/rightBox/asset/assetBatchEditBox.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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