提交 dfa7c1e9 编写于 作者: KK's avatar KK

代码调整

上级 90f6c179
......@@ -4,7 +4,7 @@
<#if ctrl.isShowTitleBar()>
<ion-list-header v-if="editTitle" class='app-mob-portlet__header'>
<ion-input v-if="isEditTitle" :value="editTitle" @ionChange="titleChange"></ion-input>
<span v-if="!isEditTitle"><span v-if="customizeTitle">{{customizeTitle}}</span><span v-else>{{$t('app.views.<#noparse>${this.viewName.toLowerCase()}</#noparse>.${ctrl.getCodeName()?lower_case}_portlet')}}</span></span>
<span v-if="!isEditTitle"><span v-if="customizeTitle">{{customizeTitle}}</span><span v-else>{{$t(`app.views.<#noparse>${this.viewName.toLowerCase()}</#noparse>.${ctrl.getCodeName()?lower_case}_portlet`)}}</span></span>
<div v-if="actionBarModelData && actionBarModelData.length> 0" class="portlet__header_right">
<app-mob-icon v-if="!isEditTitle" name="ellipsis-horizontal-outline" @onClick="open"></app-mob-icon>
</div>
......
......@@ -269,7 +269,7 @@ import ${srfclassname('${appCounter.getCodeName()}')}CounterService from '@/ap
if(this.customizeTitle){
return this.customizeTitle
}
return (this.$t('app.views.<#noparse>${this.viewName.toLowerCase()}</#noparse>.${ctrl.getCodeName()?lower_case}_portlet') as string)
return (this.$t(`app.views.<#noparse>${this.viewName.toLowerCase()}</#noparse>.${ctrl.getCodeName()?lower_case}_portlet`) as string)
}
/**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册