Merge pull request 'jie' (#24) from jie into test

Reviewed-on: #24
pull/25/head
lizijie 1 year ago
commit 94b98b31da

@ -450,14 +450,14 @@ function cancel(val) {
<SvgIcon class="gap" name="arrow-botton" size="14" />
</div>
</n-popselect>
<div style="margin-left: 15px;cursor: pointer;color:#323233" @click="sortHandler('pictureResult')">
<span>相似度排序</span>
<SvgIcon style="margin-left: 8px;" name="sort" size="12" />
</div>
<div style="margin-left: 15px;cursor: pointer;color:#323233" @click="sortHandler('fromuptime')">
<span>时间排序</span>
<SvgIcon style="margin-left: 8px;" name="sort" size="12" />
</div>
<div style="margin-left: 15px;cursor: pointer;color:#323233" @click="sortHandler('pictureResult')">
<span>相似度排序</span>
<SvgIcon style="margin-left: 8px;" name="sort" size="12" />
</div>
</div>
<span style="font-size: 16px;color:#494949"> <span style="color:#7899fd;font-weight: 500;">{{ totalCount
}}</span> </span>

@ -29,7 +29,11 @@ const totalCount = ref(0);
let _imagesload: any;
function setBatch(value: boolean) {
batch.value = value;
if (value && batch.value) {
batch.value = !value;
} else {
batch.value = value;
}
if (value === false) {
selectItems.value.forEach((item) => (item.checked = false));
selectItems.value.length = 0;

Loading…
Cancel
Save