提交 b743468c 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新

上级 37276ff2
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<i-button v-if="index == 0" type="primary" @click="handleAdd"> <i-button v-if="index == 0" type="primary" @click="handleAdd">
{{ $t('app.local.add') + $t('<#if ctrl.getEmbeddedPSAppView().getPSAppDataEntity()??>entities.${ctrl.getEmbeddedPSAppView().getPSAppDataEntity().getCodeName()?lower_case}.views.${ctrl.getEmbeddedPSAppView().getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${ctrl.getEmbeddedPSAppView().getCodeName()?lower_case}.caption</#if>') }} {{ $t('app.local.add') + $t('<#if ctrl.getEmbeddedPSAppView().getPSAppDataEntity()??>entities.${ctrl.getEmbeddedPSAppView().getPSAppDataEntity().getCodeName()?lower_case}.views.${ctrl.getEmbeddedPSAppView().getPSDEViewCodeName()?lower_case}.caption<#else>app.views.${ctrl.getEmbeddedPSAppView().getCodeName()?lower_case}.caption</#if>') }}
</i-button> </i-button>
<icon v-if="item.srfuf == 1" class="remove-icon" type="md-remove-circle" @click="handleRemove(item)" /> <icon v-if="!(index == 0 && item.srfuf == 0)" class="remove-icon" type="md-remove-circle" @click="handleRemove(item)" />
</div> </div>
</template> </template>
<${srffilepath2(ctrl.getEmbeddedPSAppView().getCodeName())} <${srffilepath2(ctrl.getEmbeddedPSAppView().getCodeName())}
...@@ -461,6 +461,9 @@ ...@@ -461,6 +461,9 @@
} }
}); });
} }
if (this.items.length == 0) {
this.handleAdd();
}
} }
/** /**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册