Przeglądaj źródła

fix: 志愿者不开设置

chenjj 1 miesiąc temu
rodzic
commit
b4fc3205e1
1 zmienionych plików z 1 dodań i 1 usunięć
  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>