From 427eaed54433d2bb91ec500c2ae843ef03af7437 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 8 Jul 2023 20:31:41 +0800 Subject: [PATCH] code refactor --- src/views/mobile/tags/ListPage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/mobile/tags/ListPage.vue b/src/views/mobile/tags/ListPage.vue index a71a3f4c..04af76fd 100644 --- a/src/views/mobile/tags/ListPage.vue +++ b/src/views/mobile/tags/ListPage.vue @@ -342,10 +342,10 @@ export default { self.$hideLoading(); if (tag.id) { - this.editingTag.id = ''; - this.editingTag.name = ''; + self.editingTag.id = ''; + self.editingTag.name = ''; } else { - this.newTag = null; + self.newTag = null; } }).catch(error => { self.$hideLoading();