Browse Source

姓名等于手机号时清空姓名

zhuth 7 years ago
parent
commit
1f81118925
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/saas-portal-web/src/components/conenter/addgongsi.vue

+ 1 - 1
frontend/saas-portal-web/src/components/conenter/addgongsi.vue

@@ -110,7 +110,7 @@ import { setTimeout } from 'timers';
             VDistpicker
         },
         mounted(){
-            this.$refs.name.value = this.mytoken.account.realname
+            this.$refs.name.value = this.mytoken.account.realname == this.mytoken.account.mobile ? '' : this.mytoken.account.realname
             this.$refs.email.value = this.mytoken.account.email
         },
         methods: {