code refactor

This commit is contained in:
MaysWind
2023-07-08 20:31:41 +08:00
parent 00f783c0b6
commit 427eaed544
+3 -3
View File
@@ -342,10 +342,10 @@ export default {
self.$hideLoading(); self.$hideLoading();
if (tag.id) { if (tag.id) {
this.editingTag.id = ''; self.editingTag.id = '';
this.editingTag.name = ''; self.editingTag.name = '';
} else { } else {
this.newTag = null; self.newTag = null;
} }
}).catch(error => { }).catch(error => {
self.$hideLoading(); self.$hideLoading();