AVUE 判断是否为空

import {validatenull} from "@/util/validate";


  // 若未登录则弹出框进行绑定
  if (validatenull(this.userInfo.userId) || this.userInfo.userId < 0) {
	this.form.name = this.userInfo.account;
	this.form.account = this.userInfo.account;
	this.accountBox = true;
  }

posted @ 2020-10-30 16:54  古兴越  阅读(767)  评论(0编辑  收藏  举报