feat: unify asset/rule interop and add toolbar asset manager

This commit is contained in:
2026-02-27 13:34:23 +08:00
parent 99eecd0eae
commit 324865edc5
11 changed files with 667 additions and 42 deletions

View File

@@ -66,7 +66,10 @@ const currentAssetLibrary = computed({
</div>
<div v-if="!hasNodeSelected" class="no-selection">
<p>请选择一个节点以编辑其属性</p>
<div class="no-selection-text">
<p>请选择一个节点以编辑其属性</p>
<p class="no-selection-tip">素材入口添加并选中 assetSelector 节点后点击选择资产</p>
</div>
</div>
<div v-else class="property-content">
@@ -155,6 +158,18 @@ const currentAssetLibrary = computed({
text-align: center;
}
.no-selection-text {
display: flex;
flex-direction: column;
gap: 8px;
}
.no-selection-tip {
font-size: 12px;
color: #606266;
margin: 0;
}
.property-content {
padding: 10px;
flex: 1;