From 35bff42b22d092d164ef4b9db8701f839c57bd9c Mon Sep 17 00:00:00 2001
From: 唐耀东 <18861537@qq.com>
Date: 星期六, 11 六月 2022 11:33:08 +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