Просмотр исходного кода

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

zhuth 7 лет назад
Родитель
Сommit
1f81118925
1 измененных файлов с 1 добавлено и 1 удалено
  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: {