Przeglądaj źródła

隐藏登陆页面的用户注册功能

lihongxiao 1 rok temu
rodzic
commit
5ec6b5dc01
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 2 2
      config/baseUrl.js
  2. 2 2
      pages/login/login.vue

+ 2 - 2
config/baseUrl.js

@@ -3,8 +3,8 @@ let h5BaseUrl = "";
 let socketUrl = "";
 if (process.env.NODE_ENV === 'development') {
 	// 开发环境
-	// baseUrl = "http://39.98.239.48/web-api"; //测试
-       baseUrl = 'http://192.168.0.111:8080'
+	baseUrl = "http://39.98.239.48/web-api"; //测试
+       // baseUrl = 'http://192.168.0.111:8080'
 	h5BaseUrl = "http://39.98.239.48/h5";
 	// baseUrl = "http://sxzgkj.baoxianzhanggui.com/web-api";//正式
 	// h5BaseUrl = "http://sxzgkj.baoxianzhanggui.com/h5";

+ 2 - 2
pages/login/login.vue

@@ -63,9 +63,9 @@
 				<view @tap="changeStatus">
 					{{status?'密码登录':'验证码登录'}}
 				</view>
-				<view>
+				<!-- <view>
 					<view @tap="navigate({url:'/pages/register/register'})">用户注册</view>
-				</view>
+				</view> -->
 			</view>
 			<view class="third_party_login_box">
 				<view class="third_party_title"><text>第三方登录</text></view>