Files
medical-mall/pages/mall/consumer/category.uvue
2026-05-19 17:45:27 +08:00

19 lines
352 B
Plaintext

<template>
<view />
</template>
<script>
export default {
onLoad(options) {
const categoryId = options && options.categoryId ? String(options.categoryId) : '';
if (categoryId !== '') {
uni.setStorageSync('selectedCategory', categoryId);
}
uni.switchTab({ url: '/pages/main/index' });
}
}
</script>
<style scoped>
</style>