js 在&&右边如何终止函数运行
这样写不能终止,如何在&&右边运行this.$message后终止函数
checkGoodForm() {
this.goodForm.tilte === '' && (() => { this.$message.error('标题不能为空'); return false })
this.goodForm.tilte.length < 20 &&(() => { this.$message.error('标题最少十个汉字'); return false })
}