mym 1 year ago
parent
commit
a195552b19
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pages/login/register.vue
  2. 1 1
      utils/request.js

+ 1 - 1
pages/login/register.vue

@@ -3,7 +3,7 @@
 		<view class="dk" style="margin-top: 30px">
 			<view class="bg">
 				<text class="icon">&#xe8b9;</text>
-				<input type="number" v-model="form.phone" placeholder="请输入手机号" />
+				<input type="number" maxlength="11" v-model="form.phone" placeholder="请输入手机号" />
 			</view>
 			<view class="bg">
 				<text class="icon">&#xe624;</text>

+ 1 - 1
utils/request.js

@@ -1,5 +1,5 @@
 // const server = 'http://127.0.0.1:8080';
-const server = 'http://192.168.88.34:8080';
+const server = 'http://192.168.88.36:8080';