digital 过滤调整

This commit is contained in:
X1627315083@163.com
2026-05-12 13:27:30 +08:00
parent baf57515c0
commit 09909552bc
5 changed files with 133 additions and 46 deletions

View File

@@ -7,10 +7,6 @@ import { ref, onMounted, onUnmounted, reactive, toRefs } from "vue";
let data = reactive({
})
const categoriesList = ref([
{
label: 'All',
value: 'All'
},
{
label: 'Outwear',
value: 'Outwear'
@@ -37,10 +33,6 @@ const categoriesList = ref([
},
]);
const genderList = ref([
{
label: 'All',
value: 'All'
},
{
label: 'Male',
value: 'Male'
@@ -50,12 +42,12 @@ const genderList = ref([
value: 'Female'
},
])
const categories = ref('All')
const gender = ref('All')
const categories = ref([''])
const gender = ref([''])
const clearFilters = () => {
categories.value = 'All'
gender.value = 'All'
categories.value = ['']
gender.value = ['']
}
onMounted(()=>{
})