提交 2019ebd5 编写于 作者: Cano1997's avatar Cano1997

update:数据视图排序属性多语言

上级 798e6d4c
......@@ -2,10 +2,10 @@
<div :class="['app-sort-bar', isSort ? 'open-bar' : '',]">
<row v-if="sortModel && sortModel.length>0" class="page-sort-bar" :gutter="10" type="flex" justify="start" style="margin:0px;">
<template v-for="(item, index) in sortModel">
<i-col v-show="isSort" :key="index" :class="getSortClass(item)">
<i-col v-show="isSort" :key="index" :class="getSortClass(item.codeName)">
<div >
<div @click="sortItemClick(item)">
<span class="sort-field-text" >{{$t('entities.'+ entityName +'.fields.' + item)}}</span>
<div @click="sortItemClick(item.codeName)">
<span class="sort-field-text" >{{ item.logicNameLenRes ? $t(item.logicNameLenRes, item.logicName) : item.logicName }}</span>
<span class="caret-wrapper">
<Icon type="md-arrow-dropup" />
<Icon type="md-arrow-dropdown" />
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册