From 34e9605033b51eed37a3c7e1df4e4a2f394c9ab0 Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期二, 13 九月 2022 10:42:16 +0800
Subject: [PATCH] 问题修改

---
 src/views/components/peripheralUnit/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/components/peripheralUnit/index.vue b/src/views/components/peripheralUnit/index.vue
index bbd406a..cd15ffa 100644
--- a/src/views/components/peripheralUnit/index.vue
+++ b/src/views/components/peripheralUnit/index.vue
@@ -67,9 +67,9 @@
   },
   methods: {
     handleClear () {
-      this.currentId = '';
+      this.currentId = undefined;
       this.name = undefined;
-      this.$emit("change", '');
+      this.$emit("change", undefined);
     },
     getCurrentRow (e) {
       this.currentId = e.id

--
Gitblit v1.9.1