bug修改

This commit is contained in:
zhaoxiao
2021-10-13 15:24:35 +08:00
parent 896ad36e6a
commit e274635dc5
10 changed files with 109 additions and 82 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ export default {
* 新建联系人
*/
addContacts() {
if (this.selectedCompany && Object.keys(this.selectedCompany).length > 0) {
if (this.selectedCompany && Object.keys(this.selectedCompany).length > 0 && this.selectedCompany.id) {
// 传入是否调用无权限接口的参数 去判断
this.$refs.contactForm.add(this.isLimit)
this.$refs.contactForm.title = '新增'