浏览代码

蛋显示隐藏控制 ---wgy

tanxue 6 月之前
父节点
当前提交
61a61af3b8
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pages/study/product/shuxue.vue
  2. 1 1
      pages/study/product/yingyu.vue

+ 1 - 1
pages/study/product/shuxue.vue

@@ -7,7 +7,7 @@
 				{{getZhangName(options.zhangName)}}
 			</view>
 			<!-- 动物类型 -->
-			<view v-if="growthType" :class="currentGrowth()"></view>
+			<view v-if="growthType!=null" :class="currentGrowth()"></view>
 			<view>
 				<!-- 小岛 -->
 				<view class="brand-item" v-for="(item, index) in options.jieList" :key="item.jieId"

+ 1 - 1
pages/study/product/yingyu.vue

@@ -4,7 +4,7 @@
 		<view class="ezy-study-wrap" @touchstart="onTouchStart" @touchend="onTouchEnd">
 			<view @click="handleCheckCatalogue" class="chapter-title-box">{{options.zhangName}}</view>
 			<!-- 动物类型 -->
-			<view v-if="growthType" :class="currentGrowth()"></view>
+			<view v-if="growthType!=null" :class="currentGrowth()"></view>
 			<view>
 				<!-- 小岛 -->
 				<view class="brand-item" v-for="(item, index) in options.jieList" :key="item.jieId"