Browse Source

sass登录

huangb 7 years ago
parent
commit
2e5e82fe05
1 changed files with 0 additions and 9 deletions
  1. 0 9
      components/login/Login.vue

+ 0 - 9
components/login/Login.vue

@@ -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()