|
@@ -53,6 +53,7 @@ export default {
|
|
|
metaInfo: { title: '登陆' },
|
|
|
props: {
|
|
|
title: { type: String, default: '培训会系统登录' },
|
|
|
+ type: { type: String, default: '0' },
|
|
|
},
|
|
|
components: { dataForm, qrcode },
|
|
|
data: () => ({
|
|
@@ -80,6 +81,7 @@ export default {
|
|
|
methods: {
|
|
|
...mapActions(['login', 'getQrcode']),
|
|
|
async handleSave({ data }) {
|
|
|
+ if (this.type) data.type = this.type;
|
|
|
let res = await this.login({ user: data, router: this.$router });
|
|
|
},
|
|
|
async toConnection() {
|