Compare commits

...

2 Commits

Author SHA1 Message Date
ibuler
f8d2ae3b58 perf: 优化创建简单 2021-08-20 14:22:47 +08:00
Bai
565507f2b8 fix: 修复AssetSelect弹窗的protocols显示 2021-08-20 14:15:03 +08:00
2 changed files with 4 additions and 1 deletions

View File

@@ -102,6 +102,9 @@ export default {
}, },
{ {
prop: 'protocols', prop: 'protocols',
formatter: function(row) {
return <span> {row.protocols.toString()} </span>
},
label: this.$t('assets.Protocols') label: this.$t('assets.Protocols')
} }
], ],

View File

@@ -236,7 +236,7 @@ export default {
name: data['value'], name: data['value'],
pId: parentNode.id, pId: parentNode.id,
meta: { meta: {
'node': data data: data
} }
} }
newNode.checked = this.zTree.getSelectedNodes()[0].checked newNode.checked = this.zTree.getSelectedNodes()[0].checked