From 6c114703b26e2b871ce3bad4d3ab39367eae9109 Mon Sep 17 00:00:00 2001 From: wxy <14293288+zysysys@user.noreply.gitee.com> Date: Thu, 5 Sep 2024 21:06:17 +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 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/port/port/employee.vue b/src/views/port/port/employee.vue index e48bf3c..3df8c3c 100644 --- a/src/views/port/port/employee.vue +++ b/src/views/port/port/employee.vue @@ -48,9 +48,17 @@ 测试API - 接口文档 + + + 接口文档 + + @@ -383,7 +391,7 @@ export default { //方法集合", methods: { - navigateToDocumentation() { + navigateToDocumentation(connector) { this.$router.push({ path: '/port/sys', query: {