feat: 维度自定义排序

This commit is contained in:
junjun 2022-05-16 15:43:03 +08:00
parent f46191784b
commit 1c0c09acc7
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
<svg t="1652686782256" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2066" width="200" height="200"><path d="M922.345786 372.183628l-39.393195 38.687114L676.138314 211.079416l0 683.909301-54.713113 0L621.425202 129.010259l53.320393 0L922.345786 372.183628zM349.254406 894.989741 101.654214 651.815349l39.393195-38.687114 206.814276 199.792349L347.861686 129.010259l54.713113 0 0 765.978459L349.254406 894.988718z" p-id="2067"></path></svg>

After

Width:  |  Height:  |  Size: 486 B

View File

@ -11,6 +11,7 @@
<svg-icon v-if="item.deType === 5" icon-class="field_location" class="field-icon-location" />
<svg-icon v-if="item.sort === 'asc'" icon-class="sort-asc" class-name="field-icon-sort" />
<svg-icon v-if="item.sort === 'desc'" icon-class="sort-desc" class-name="field-icon-sort" />
<svg-icon v-if="item.sort === 'custom_sort'" icon-class="custom_sort" class-name="field-icon-sort" />
</span>
<span class="item-span-style" :title="item.name">{{ item.name }}</span>
<field-error-tips v-if="tagType === 'danger'" />