code refactor
This commit is contained in:
@@ -206,7 +206,7 @@ export default {
|
||||
return true;
|
||||
},
|
||||
hasEditingTag() {
|
||||
return this.newTag || (this.editingTag.id && this.editingTag.id !== '');
|
||||
return !!(this.newTag || (this.editingTag.id && this.editingTag.id !== ''));
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user