去除子分类

This commit is contained in:
2024-11-04 14:30:48 +08:00
parent 0ad11a9866
commit 72702ca3cc

View File

@@ -71,7 +71,8 @@
</uni-forms-item> --> </uni-forms-item> -->
</view> </view>
<template v-if="option.type==='edit'"> <!-- <template v-if="option.type==='edit'"> -->
<template v-if="false">
<view class="font-bold u-m-t-32 u-m-b-32">子分类</view> <view class="font-bold u-m-t-32 u-m-b-32">子分类</view>
<view class="block u-p-t-32 u-p-b-32" v-if=" category.childrenList.length"> <view class="block u-p-t-32 u-p-b-32" v-if=" category.childrenList.length">
<view class="u-flex u-text-center u-font-24"> <view class="u-flex u-text-center u-font-24">
@@ -175,14 +176,14 @@
</template> </template>
</uni-forms> </uni-forms>
</view> </view>
<template v-if="option.type==='edit'"> <!-- <template v-if="option.type==='edit'">
<view class="u-flex block u-p-l-20 u-p-r-20 u-p-t-28 u-p-b-28" @click="addcategoryChildren"> <view class="u-flex block u-p-l-20 u-p-r-20 u-p-t-28 u-p-b-28" @click="addcategoryChildren">
<view class="icon icon-add u-m-r-22 "> <view class="icon icon-add u-m-r-22 ">
</view> </view>
<view class="color-main">添加子分类</view> <view class="color-main">添加子分类</view>
</view> </view>
</template> </template> -->
<view class="save-btn-box"> <view class="save-btn-box">