uniapp【修复】:修复首页商品组组件查询更多跳转带上分类id和品牌id

This commit is contained in:
21世纪小八路
2024-11-20 22:20:58 +08:00
parent 8f34862bd2
commit 9e42bcac54
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@
} }
const hanldeClickViewMore = () => { const hanldeClickViewMore = () => {
handleRouteNavigateTo('/pages/category/category') handleRouteNavigateTo(`/pages/category/category?catId=${props.data.classifyId}&brandId=${props.data.brandId}`)
} }
const hanldeClickGoods = (data : any) => { const hanldeClickGoods = (data : any) => {

View File

@@ -4,7 +4,7 @@
</view> </view>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ref,ks watch } from 'vue'; import { ref, watch } from 'vue';
const props = withDefaults(defineProps<{ const props = withDefaults(defineProps<{
data : any, data : any,