-
用户名
-
角色
diff --git a/src/pages/Index.vue b/src/pages/Index.vue
index c2b2e4f..a7ae575 100644
--- a/src/pages/Index.vue
+++ b/src/pages/Index.vue
@@ -1,10 +1,10 @@
-
+
@@ -19,13 +19,18 @@ export default {
data(){
return {
user:'请登录',
- role:0
+ role:0,
+ step:''
}
},
methods:{
getData(res){
this.user =res.real_name
this.role =res.user_role
+ },
+ getStep(res){
+ console.log('当前步骤',res)
+ this.step=res
}
}
}
diff --git a/src/pages/Login.vue b/src/pages/Login.vue
index bc4c024..7da0b73 100644
--- a/src/pages/Login.vue
+++ b/src/pages/Login.vue
@@ -93,7 +93,7 @@ export default {
},
};
-