auto login
This commit is contained in:
parent
89d98c8e07
commit
b1ef37da03
@ -147,7 +147,7 @@ export default {
|
||||
// this.loading.close();
|
||||
// return;
|
||||
// }
|
||||
let data = await login(this.form.utel, this.form.upass, 'tt', 'tt');
|
||||
let data = await login("canyin", "water123456", 'tt', 'tt');
|
||||
this.$store.commit("login", data);
|
||||
/**
|
||||
* 初始化设备数据、传感器数据
|
||||
@ -209,7 +209,8 @@ export default {
|
||||
this.bgimg = require("../assets/back.jpg");
|
||||
this.avter = require("../assets/login-portrait.png");
|
||||
this.logobg = require("../assets/back.jpg");
|
||||
this.createCode();
|
||||
// this.createCode();
|
||||
this.login();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user