This commit is contained in:
q4speed 2020-06-05 17:18:17 +08:00
parent d42f399a49
commit c02c4b865c
1 changed files with 3 additions and 4 deletions

View File

@ -88,10 +88,9 @@
methods: {
init() {
let projectId;
this.isReadOnly = false;
if (!checkoutTestManagerOrTestUser()) {
this.isReadOnly = true;
}
this.isReadOnly = !checkoutTestManagerOrTestUser();
if (this.id) {
this.create = false;
this.getTest(this.id);