소스 검색

fix: 志愿者不开设置

chenjj 1 개월 전
부모
커밋
b4fc3205e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/mine.vue

+ 1 - 1
pages/mine.vue

@@ -6,7 +6,7 @@
 			<view class="header-info">
 				<text class="info-name">{{ userInfo.nickName }}</text>
 				<text class="info-id">ID: {{ data.volunteerId }}</text>
-				<text class="info-edit" @click="handLsetTing">设置> </text>
+				<text class="info-edit" @click="handLsetTing"  v-if="userType == 1">设置> </text>
 			</view>
 		</view>