zhongtianhaoyuan 3 سال پیش
والد
کامیت
bb35fa5cc1
1فایلهای تغییر یافته به همراه2 افزوده شده و 6 حذف شده
  1. 2 6
      pages/erpbusiness/index.vue

+ 2 - 6
pages/erpbusiness/index.vue

@@ -4,15 +4,11 @@
 			<view class='title'>收购业务管理</view>
 			<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']">
 				<view class="cu-item" v-for="(item,index) in gridList" :key="index" @click="gridClick(item, index)"
-					v-if="index<gridCol*2">
-						<view v-show="item.show == true">
-							<view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
+					v-if="index<gridCol*2 && item.show">
+					<view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
 						<image :src="item.src" class="sign"></image>
 					</view>
-
 					<text>{{item.name}}</text>
-						</view>
-					
 				</view>
 			</view>
 		</view>