From 7513ecfe6de0c514b90d2574f000893f4383d33c Mon Sep 17 00:00:00 2001 From: wxy <14293288+zysysys@user.noreply.gitee.com> Date: Thu, 5 Sep 2024 20:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8E=A5=E5=8F=A3=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E5=8A=9F=E8=83=BD=E5=92=8C=E7=B3=BB=E7=BB=9F=E4=BB=8B?= =?UTF-8?q?=E7=BB=8D=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在'employee.vue'中添加了导航至接口文档的按钮,并实现了navigateToDocumentation方法,该方法会根据当前connector的信息跳转到相应的系统介绍页面。 在'b/src/views/port/sys/index.vue'中创建了一个新的Vue组件,用于展示接口文档内容,包括接口的名称、描述、价格和图片。 此功能增强了系统接口的易用性和可访问性,用户现在可以直接从'employee.vue'页面访问详细的接口文档。 --- src/views/port/port/employee.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/port/port/employee.vue b/src/views/port/port/employee.vue index 88dff83..e48bf3c 100644 --- a/src/views/port/port/employee.vue +++ b/src/views/port/port/employee.vue @@ -387,10 +387,10 @@ export default { this.$router.push({ path: '/port/sys', query: { - name: this.connector.connectorName, - picture: this.connector.connectorPicture, - describe: this.connector.connectorDescribe, - price: this.connector.connectorPrice + name: connector.connectorName, + picture: connector.connectorPicture, + describe: connector.connectorDescribe, + price: connector.connectorPrice } }); },