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