|
|
@@ -382,9 +382,6 @@
|
|
|
mounted () {
|
|
|
this.$nextTick(() => {
|
|
|
this.getUrl()
|
|
|
- // if (this.appId === 'mall' || this.appId === 'home') {
|
|
|
- // this.getCookie()
|
|
|
- // }
|
|
|
this.validUserName()
|
|
|
if (this.$route.query.code) {
|
|
|
this.wxEnterprise()
|
|
|
@@ -401,18 +398,12 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- // resetForm (formName) {
|
|
|
- // if (this.$refs[formName] === undefined) {
|
|
|
- // this.$refs[formName].resetFields()
|
|
|
- // }
|
|
|
- // },
|
|
|
toggleTab (type) {
|
|
|
this.loginWay = type
|
|
|
this.login.username = ''
|
|
|
this.login.password = ''
|
|
|
this.fastLogin.mobile = ''
|
|
|
this.fastLogin.code = ''
|
|
|
- // this.resetForm(whichForm)
|
|
|
},
|
|
|
ShowWechatCoe () {
|
|
|
wxLogin()
|