fix: 修改 asset children 和parant的位置 以及文案修改
This commit is contained in:
@@ -123,8 +123,8 @@ const cn = {
|
||||
},
|
||||
SyncSave: '保存同时更新 Assets',
|
||||
copySuccess: '复制成功',
|
||||
parent: '父级',
|
||||
children: '子级',
|
||||
parent: '父级 asset',
|
||||
children: '子级 asset',
|
||||
assetSubTab: '子级 asset',
|
||||
moreOption: '更多选项',
|
||||
copy: '复制',
|
||||
@@ -1451,7 +1451,8 @@ const cn = {
|
||||
delete: '删除',
|
||||
cut: '剪切',
|
||||
copy: '复制',
|
||||
paste: '粘贴'
|
||||
paste: '粘贴',
|
||||
textContent: 'Text content'
|
||||
},
|
||||
update: '更新'
|
||||
},
|
||||
|
||||
@@ -127,9 +127,9 @@ const en = {
|
||||
},
|
||||
SyncSave: 'Save&Sync',
|
||||
copySuccess: 'Copy success',
|
||||
parent: 'Parent',
|
||||
children: 'Sub asset',
|
||||
assetSubTab: 'Sub asset',
|
||||
parent: 'Parent asset',
|
||||
children: 'Children asset',
|
||||
assetSubTab: 'Children asset',
|
||||
dc: 'Data center',
|
||||
labels: 'Label',
|
||||
moreOption: 'More option',
|
||||
@@ -1455,7 +1455,8 @@ const en = {
|
||||
delete: 'Delete',
|
||||
cut: 'Cut',
|
||||
copy: 'Copy',
|
||||
paste: 'Paste'
|
||||
paste: 'Paste',
|
||||
textContent: 'Text content'
|
||||
},
|
||||
update: 'Update'
|
||||
},
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
<template v-else-if="item.prop === 'parent'">
|
||||
<span
|
||||
v-if="scope.row.parent"
|
||||
style="cursor: pointer"
|
||||
@mouseenter="labelHover(scope.row, 'asset', true, $event)"
|
||||
@mouseleave="labelHover(scope.row, 'asset', false)">
|
||||
{{scope.row.parent.name}}
|
||||
@@ -156,16 +157,16 @@ export default {
|
||||
show: true,
|
||||
width: 140,
|
||||
sortable: 'custom'
|
||||
}, {
|
||||
label: this.$t('overall.children'),
|
||||
prop: 'children',
|
||||
show: false,
|
||||
width: 110
|
||||
}, {
|
||||
label: this.$t('overall.parent'),
|
||||
prop: 'parent',
|
||||
show: false,
|
||||
width: 110
|
||||
}, {
|
||||
label: this.$t('overall.children'),
|
||||
prop: 'children',
|
||||
show: false,
|
||||
width: 120
|
||||
}, {
|
||||
label: this.$t('overall.type'),
|
||||
prop: 'type',
|
||||
|
||||
Reference in New Issue
Block a user