补充更多需要disable的按钮和表单

This commit is contained in:
marvzhang
2020-03-20 18:17:08 +08:00
parent 7e343cdde1
commit fac2558b20
5 changed files with 31 additions and 9 deletions

View File

@@ -198,7 +198,7 @@ export default {
}
},
isPublic () {
return this.spiderForm.is_public && this.spiderForm.username !== this.userInfo.username
return this.spiderForm.is_public && this.spiderForm.username !== this.userInfo.username && this.userInfo.role !== 'admin'
}
},
methods: {