王岚馨 11 months ago
parent c2c9b745d9
commit a99f0105ca

@ -1,33 +0,0 @@
<template>
<div class="popup">
<select v-model="selectedCategory">
<option value="category1">Category 1</option>
<option value="category2">Category 2</option>
<option value="category3">Category 3</option>
</select>
<button @click="confirmCategory"></button>
</div>
</template>
<script>
export default {
data() {
return {
selectedCategory: ''
};
},
methods: {
confirmCategory() {
//
//
this.$emit('category-selected', this.selectedCategory);
}
}
};
</script>
<style scoped>
.popup {
/* 添加样式来控制弹窗的外观 */
}
</style>
Loading…
Cancel
Save