From 4e5c061d161ff92a264c51529a8264ba17ad226e Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期日, 07 四月 2024 10:52:39 +0800 Subject: [PATCH] 新增产品登记-退出增加点击事件 --- src/views/productManage/productRegisterForm/addProductRegisterPage.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/views/productManage/productRegisterForm/addProductRegisterPage.vue b/src/views/productManage/productRegisterForm/addProductRegisterPage.vue index 5cbe81f..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> @@ -281,6 +281,10 @@ if (this.isDeviceConnectStatus) { this.$refs.addProductDialog.editDialogVisible = true } + }, + // 閫�鍑� + quitClick() { + this.$router.go(-1) } } } -- Gitblit v1.8.0