合并api文档编辑页面,体验优化

This commit is contained in:
暮光:城中城
2021-12-14 22:29:07 +08:00
parent bca4ba34e1
commit ab92d6958b
58 changed files with 570 additions and 9849 deletions

View File

@@ -1,6 +1,11 @@
<template>
<div class="page-layout">
<a-tabs type="editable-card" v-model:activeKey="activePage" @tab-click="changePage" @edit="editPageTab" style="padding: 5px 10px 0;">
<template #addIcon>
<a-tooltip title="新建一个API接口">
<plus-outlined />
</a-tooltip>
</template>
<a-tab-pane closable :tab="pageTabNameMap[item.fullPath]||item.name" :name="getRouteRealPath(item)" :fullPath="item.fullPath" :key="item.fullPath" v-for="item in pageList"/>
</a-tabs>
<div class="page-body">
@@ -14,9 +19,11 @@
</template>
<script>
import {PlusOutlined} from '@ant-design/icons-vue';
export default {
name: 'PageTableView',
components: {},
components: {PlusOutlined},
data() {
return {
pageList: [],