李天标 5 vuotta sitten
vanhempi
commit
767eb804c2
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      pages/User/user.vue

+ 3 - 3
pages/User/user.vue

@@ -22,7 +22,7 @@
 		<view class="">
 			<uni-list>
 				<view v-if="Aid!='1'">
-					<view v-if="isForeign!='1'">
+					<view v-if="ifForeign!='1'">
 						<uni-list-item title="优惠码" @click="open()" />
 					</view>
 				</view>
@@ -83,8 +83,8 @@
 			// uni.startPullDownRefresh();
 			var globalUser = uni.getStorageSync("globalUser");
 			this.Aid = globalUser.id;
-			var isForeign = globalUser.isForeign;
-			this.isForeign = isForeign;
+			var ifForeign = globalUser.ifForeign;
+			this.ifForeign = ifForeign;
 			var me = this;
 			var name = uni.getStorageSync("name");
 			me.name = name;