修改合并工程显示问题
This commit is contained in:
@ -121,6 +121,19 @@ export const useTreeNode = () => {
|
||||
// render: () => {},
|
||||
allowChildren: true,
|
||||
},
|
||||
folder: {
|
||||
rightMenus: [
|
||||
'addDirectory',
|
||||
'addResource',
|
||||
'pictureLocation',
|
||||
'importPanorama',
|
||||
'edit',
|
||||
'del'
|
||||
],
|
||||
// detailFun: get_detail_null,
|
||||
// render: () => {},
|
||||
allowChildren: true,
|
||||
},
|
||||
tileset: {
|
||||
rightMenus: [
|
||||
'edit',
|
||||
@ -473,7 +486,7 @@ export const useTreeNode = () => {
|
||||
}
|
||||
|
||||
// return (type === 'directory' || type === 'FeatureCollection') ? undefined : `http://localhost:${availablePort}/icon/${name}.png`;
|
||||
return (type === 'directory' || type === 'FeatureCollection') ? undefined : `
|
||||
return (type === 'directory' || type === 'FeatureCollection' || type === 'folder') ? undefined : `
|
||||
<svg class="svg-icon" style="color: rgba(var(--color-base2), 1);margin-top: 1px;width:100%;height:100%;fill: currentColor !important;stroke: currentColor !important;stroke-width: ${strokeWidth} !important;shape-rendering: geometricPrecision;">
|
||||
<use xlink:href="#icon-${name}" />
|
||||
</svg>
|
||||
|
||||
Reference in New Issue
Block a user