guhongwei hace 4 años
padre
commit
1f05d248e3
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 1 1
      src/router/index.js
  2. 3 3
      src/views/followbind.vue

+ 1 - 1
src/router/index.js

@@ -29,7 +29,7 @@ const routes = [
   // 错误
   {
     path: '/error',
-    name: '',
+    name: 'error',
     meta: { title: '绑定授权', isleftarrow: false },
     component: () => import('../views/followbind.vue'),
   },

+ 3 - 3
src/views/followbind.vue

@@ -6,8 +6,8 @@
           <NavBar v-show="navShow" :title="title" :isleftarrow="isleftarrow"> </NavBar>
         </el-col>
         <el-col :span="24" class="main">
-          <el-input v-model="info.phone"></el-input>
-          <el-input v-model="info.passwd" password></el-input>
+          <el-input v-model="info.phone" placeholder="请输入手机号"></el-input>
+          <el-input v-model="info.passwd" placeholder="请输入密码" password></el-input>
           <el-button @click="bindBtn()" type="primary">确认绑定</el-button>
         </el-col>
       </el-col>
@@ -33,7 +33,7 @@ export default {
       isleftarrow: '',
       // 返回
       navShow: true,
-      phone: '',
+      info: {},
     };
   },
   created() {},