Commit 73b0b37941d203dcc840a6c92030875f08eb4bf3

Authored by zhangdaiscott
1 parent b8fb5390

demo示例设置展示列效果优化

ant-design-vue-jeecg/src/views/jeecg/JeecgDemoList.vue
... ... @@ -89,10 +89,10 @@
89 89 <a-popover title="自定义列" trigger="click" placement="leftBottom">
90 90 <template slot="content">
91 91 <a-checkbox-group @change="onColSettingsChange" v-model="settingColumns" :defaultValue="settingColumns">
92   - <a-row>
  92 + <a-row style="width: 400px">
93 93 <template v-for="(item,index) in defColumns">
94 94 <template v-if="item.key!='rowIndex'&& item.dataIndex!='action'">
95   - <a-col :span="12"><a-checkbox :value="item.dataIndex">{{ item.title }}</a-checkbox></a-col>
  95 + <a-col :span="12"><a-checkbox :value="item.dataIndex"><j-ellipsis :value="item.title" :length="10"></j-ellipsis></a-checkbox></a-col>
96 96 </template>
97 97 </template>
98 98 </a-row>
... ... @@ -118,10 +118,10 @@
118 118 <div slot="filterDropdown">
119 119 <a-card>
120 120 <a-checkbox-group @change="onColSettingsChange" v-model="settingColumns" :defaultValue="settingColumns">
121   - <a-row>
  121 + <a-row style="width: 400px">
122 122 <template v-for="(item,index) in defColumns">
123 123 <template v-if="item.key!='rowIndex'&& item.dataIndex!='action'">
124   - <a-col :span="12"><a-checkbox :value="item.dataIndex">{{ item.title }}</a-checkbox></a-col>
  124 + <a-col :span="12"><a-checkbox :value="item.dataIndex"><j-ellipsis :value="item.title" :length="10"></j-ellipsis></a-checkbox></a-col>
125 125 </template>
126 126 </template>
127 127 </a-row>
... ...