瀏覽代碼

fix: 志愿者不开设置

chenjj 4 周之前
父節點
當前提交
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>