This commit is contained in:
linfeng 2023-11-13 11:22:56 +08:00
commit d47c451584

View File

@ -1,6 +1,6 @@
<template>
<view class="container">
<view class="title">选择子类目</view>
<view class="title">选择子类目</view>
<view class="class-wrap">
<view class="class-item u-line-1" @click="chooseClass(item.cateId,item.cateName)"
v-for="(item, index) in classList" :key="index">{{ item.cateName }}</view>
@ -25,8 +25,6 @@
})
},
chooseClass(id, name) {
console.log('id:', id)
console.log('name:', name)
let pages = getCurrentPages();
let nowPage = pages[pages.length - 1];
let prevPage = pages[pages.length - 2];