fix:修改asset connect点击报错 ,panel-addByTemplate穿梭框,varIds传参不正确,以及assetmodel编辑框中chart-template回显问题

This commit is contained in:
zhangyu
2021-05-25 14:21:14 +08:00
parent 03f3c69142
commit 6ec63ff6f3
6 changed files with 18 additions and 18 deletions

View File

@@ -228,7 +228,7 @@ export default {
} else if (this.from === fromRoute.endpoint) { // 来自endpoint时取endpointId
this.editChartTemp.varIds = this.obj.varIds
} else {
this.editChartTemp.varIds = this.transfer.selectedData.map(item => item.id)
this.editChartTemp.varIds = this.$refs.transfer.selectedData.map(item => item.id)
}
this.$refs.userForm.validate((valid) => {
if (valid) {