From 12b5feba10e8f30553999d77205eb25ec0598f90 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期日, 07 四月 2024 11:27:05 +0800
Subject: [PATCH] login

---
 src/views/productManage/productRegisterForm/addProductRegisterPage.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/productManage/productRegisterForm/addProductRegisterPage.vue b/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
index 4957b7f..51564e9 100644
--- a/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
+++ b/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
@@ -5,7 +5,7 @@
         <el-button type="primary" size="small">鏀惧純</el-button>
         <el-button type="primary" size="small">淇濆瓨</el-button>
         <el-divider direction="vertical"></el-divider>
-        <el-button type="primary" size="small">閫�鍑�</el-button>
+        <el-button type="primary" size="small" @click="quitClick">閫�鍑�</el-button>
       </div>
       <div class="t-right">
         <div class="t-right-circle" :class="isDeviceConnectStatus ? 't-r-bg-green ' : 't-r-bg-red '"></div>
@@ -226,7 +226,7 @@
   computed: {},
   data() {
     return {
-      isDeviceConnectStatus: false,
+      isDeviceConnectStatus: true,
       ruleForm: {
         number: "",
         productTime: "",
@@ -281,6 +281,10 @@
       if (this.isDeviceConnectStatus) {
         this.$refs.addProductDialog.editDialogVisible = true
       }
+    },
+    // 閫�鍑�
+    quitClick() {
+      this.$router.go(-1)
     }
   }
 }

--
Gitblit v1.8.0